WinForms › Smart Button › ContextMenuPropertiesTypeConverter
ContextMenuPropertiesTypeConverter
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ButtonControls
Custom ExpandableObjectConverter derived class to support expandable properties editing in VS.NET property editor window.
public class ContextMenuPropertiesTypeConverter : System.ComponentModel.ExpandableObjectConverter
Inherits from / implements: System.ComponentModel.ExpandableObjectConverter
Remarks
This class is used by the BinarySmartButton's ContextMenuProperties property, and the ContextMenuProperties class, internally.
Members at a glance
GetProperties | Gets the properties. |
GetPropertiesSupported | Gets the properties supported. |
Methods
GetProperties
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
Gets the properties.
- context
- The context.
- value
- The value.
- attributes
- The attributes.
GetPropertiesSupported
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
Gets the properties supported.
- context
- The context.