C# Class Nexus.UI.Controls.SelectedDropDownTabPageConverter

A converter for values passed the the DropDownTabControl.SelectedTabPage property.
This converter ensures that only DropDownTabPages that are in the DropDownTabControl can be set as the selected tab.
Inheritance: System.ComponentModel.ReferenceConverter
ファイルを表示 Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
SelectedDropDownTabPageConverter ( ) : System.ComponentModel

The default constructor.

Protected Methods

Method Description
IsValueAllowed ( ITypeDescriptorContext context, object value ) : bool

Determins if the specified value is allowed.

Method Details

IsValueAllowed() protected method

Determins if the specified value is allowed.
protected IsValueAllowed ( ITypeDescriptorContext context, object value ) : bool
context ITypeDescriptorContext The context of the value.
value object The value to which to set the property
return bool

SelectedDropDownTabPageConverter() public method

The default constructor.
public SelectedDropDownTabPageConverter ( ) : System.ComponentModel
return System.ComponentModel