WinForms › Scroll Bars › ScrollBarRenderingConfiguratorTypeConverter
ScrollBarRenderingConfiguratorTypeConverter
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ScrollBars.Designers
Lets the property grid expand a scroll bar rendering configurator into its individual properties instead of showing it as one opaque value.
public class ScrollBarRenderingConfiguratorTypeConverter : System.ComponentModel.ExpandableObjectConverter
Inherits from / implements: System.ComponentModel.ExpandableObjectConverter
Members at a glance
GetProperties | Returns the configurator's own properties, which is what lets the property grid expand it instead of showing one opaque value. |
GetPropertiesSupported | Always true: this type is expandable in the property grid. |
Methods
GetProperties
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
Returns the configurator's own properties, which is what lets the property grid expand it instead of showing one opaque value.
- context
- The descriptor context.
- value
- The configurator being described.
- attributes
- Attributes used to filter the properties.
Returns. The properties to show.
GetPropertiesSupported
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
Always true: this type is expandable in the property grid.
- context
- The descriptor context.
Returns. true.