-
Notifications
You must be signed in to change notification settings - Fork 1
net90_PropertyGridHelpers.TypeDescriptionProviders_LocalizedTypeDescriptionProvider_LocalizedTypeDescriptionProvider
dparvin edited this page May 25, 2025
·
10 revisions
Initializes a new instance of the LocalizedTypeDescriptionProvider class.
public LocalizedTypeDescriptionProvider()- class LocalizedTypeDescriptionProvider
- namespace PropertyGridHelpers.TypeDescriptionProviders
- assembly PropertyGridHelpers
Localized Type Description Provider
public LocalizedTypeDescriptionProvider(Type type)| parameter | description |
|---|---|
| type | The type. |
Initializes a new instance of the LocalizedTypeDescriptionProvider class.
[ResourcePath(nameof(TestControl))]
[TypeDescriptionProvider(typeof(LocalizedTypeDescriptionProvider))]
public partial class TestControl : UserControl
{
[LocalizedCategory("Category_Layout")]
[LocalizedDescription("Description_Scrollbar")]
[LocalizedDisplayName("DisplayName_Scrollbar")]
[Editor(typeof(FlagEnumUIEditor<EnumTextConverter<ScrollBars>>), typeof(UITypeEditor))]
[TypeConverter(typeof(EnumTextConverter<ScrollBars>))]
[DefaultValue(ScrollBars.None)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
[EditorBrowsable(EditorBrowsableState.Always)]
[Bindable(true)]
public ScrollBars Scrollbars
{
get => _Scrollbars;
set => _Scrollbars = value;
}
}- class LocalizedTypeDescriptionProvider
- namespace PropertyGridHelpers.TypeDescriptionProviders
- assembly PropertyGridHelpers