WinForms › Scroll Bars › ScrollBarRenderingConfiguratorTypeConverter
ScrollBarRenderingConfiguratorTypeConverter
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ScrollBars.Designers
Lets the property grid expand a ScrollBarRenderingConfigurator into its individual
properties.
public class ScrollBarRenderingConfiguratorTypeConverter : System.ComponentModel.ExpandableObjectConverter
Inherits from / implements: System.ComponentModel.ExpandableObjectConverter
Remarks
Used by the designer through the attribute on the configurator; not for use in application code.
Members at a glance
| Methods | |
|---|---|
GetProperties | Returns the configurator's own properties, which is what lets the property grid expand it instead of showing one opaque value. |
GetPropertiesSupported | Returns true: a configurator always has properties to expand. |
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.
Parameters
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)
Returns true: a configurator always has properties to expand.
Parameters
context- The descriptor context.
Returns
true.