New to Telerik UI for WinForms? Start a free 30-day trial

Provides a design-time drop-down editor for the ContextualTabGroup property.

Definition

Constructors

Creates the editor used to choose a contextual tab group for a ribbon tab.

C#
public ContextualTabGroupsEditor()

Methods

Displays the available contextual tab groups and returns the selected group only when the selection changes. Choosing (none) clears the current group.

C#
public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
Parameters:contextITypeDescriptorContext

The context for the property being edited.

providerIServiceProvider

Provides the Windows Forms editor and reference services used by the drop-down.

valueobject

The currently assigned contextual tab group, if any.

Returns:

object

The selected ContextualTabGroup, null for (none), or the original value when unchanged.

Overrides: UITypeEditor.EditValue(ITypeDescriptorContext, IServiceProvider, object)

Gets the drop-down editor style used to select a contextual tab group.

C#
public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context)
Parameters:contextITypeDescriptorContext

The context for the property being edited.

Returns:

UITypeEditorEditStyle

DropDown.

Overrides: UITypeEditor.GetEditStyle(ITypeDescriptorContext)