C# Class Nexus.UI.Controls.SelectedVerticalTabPageConverter

A converter for values passed the the VerticalTabControl.SelectedTabPage property.
This converter ensures that only VerticalTabPages that are in the VerticalTabControl can be set as the selected tab.
Inheritance: System.ComponentModel.ReferenceConverter
Show file Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
SelectedVerticalTabPageConverter ( ) : System

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

SelectedVerticalTabPageConverter() public method

The default constructor.
public SelectedVerticalTabPageConverter ( ) : System
return System