Table of Contents

Class MenuItemRoleConverter

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Converter class for converting between a string and the Type of a MenuItemRole

public class MenuItemRoleConverter : TypeConverter
Inheritance
MenuItemRoleConverter

Methods

CanConvertFrom(ITypeDescriptorContext?, Type?)

Gets a value indicating whether this converter can convert an object in the given source type to the native type of the converter using the context.

CanConvertTo(ITypeDescriptorContext?, Type?)

Gets a value indicating whether this converter can convert an object to the given destination type using the context.

ConvertFrom(ITypeDescriptorContext?, CultureInfo?, object?)
ConvertTo(ITypeDescriptorContext?, CultureInfo?, object?, Type?)

Converts the given object to the converter's native type.