Class
ContentControlPicker

Represents a content control containing a drop-down button.

Definition

Namespace:Telerik.Windows.Controls.RichTextBoxUI

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class ContentControlPicker : ButtonContentControl, IContentControl

Inheritance: objectContentControlBaseButtonContentControlContentControlPicker

Derived Classes: ComboBoxControlDatePickerControl

Implements: IContentControl

Inherited Members ButtonContentControl.ButtonShouldBeVisiblePropertyButtonContentControl.ButtonWidthPropertyButtonContentControl.ButtonHeightPropertyButtonContentControl.ButtonShouldBeVisibleButtonContentControl.ButtonWidthButtonContentControl.ButtonHeightContentControlBase.AliasPropertyContentControlBase.AliasFontSizePropertyContentControlBase.HoveredPropertyContentControlBase.FocusedPropertyContentControlBase.LineThicknessPropertyContentControlBase.OutlineColorPropertyContentControlBase.PolygonPointsPropertyContentControlBase.TextFlowDirectionPropertyContentControlBase.SelectedPropertyContentControlBase.ThumbShouldBeVisiblePropertyContentControlBase.TopThumbButtonShouldBeVisiblePropertyContentControlBase.SelectCommandPropertyContentControlBase.OnInitialized(EventArgs)ContentControlBase.UpdateState(ContentControlState)ContentControlBase.GetCurrentState()ContentControlBase.GetBodyElementName()ContentControlBase.AliasFontSizeContentControlBase.AliasContentControlBase.SelectedContentControlBase.HoveredContentControlBase.FocusedContentControlBase.LineThicknessContentControlBase.OutlineColorContentControlBase.PolygonPointsContentControlBase.TextFlowDirectionContentControlBase.ThumbShouldBeVisibleContentControlBase.TopThumbButtonShouldBeVisibleContentControlBase.SelectCommand

Constructors

ContentControlPicker()

Declaration

cs-api-definition
public ContentControlPicker()

Fields

DropDownWidthProperty

Identifies the DropDownWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropDownWidthProperty

Field Value

DependencyProperty

DropDownWidthPropertyKey

Declaration

cs-api-definition
public static readonly DependencyPropertyKey DropDownWidthPropertyKey

Field Value

DependencyPropertyKey

IsContentLockedProperty

Identifies the IsContentLocked dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsContentLockedProperty

Field Value

DependencyProperty

IsContentLockedPropertyKey

Declaration

cs-api-definition
public static readonly DependencyPropertyKey IsContentLockedPropertyKey

Field Value

DependencyPropertyKey

Properties

DropDownWidth

Gets the value that indicates the width of the drop down content.

Declaration

cs-api-definition
public double DropDownWidth { get; }

Property Value

double

IsContentLocked

Gets the value that indicates whether or not the content can be edited.

Declaration

cs-api-definition
public bool IsContentLocked { get; }

Property Value

bool

Methods

ArrangeOverride(Size)

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size arrangeBounds)

Parameters

arrangeBounds

Size

Returns

Size

Overrides ButtonContentControl.ArrangeOverride(Size)

Initialize(ContentControlState)

Initializes the content control picker with the specified state.

Declaration

cs-api-definition
public override void Initialize(ContentControlState state)

Parameters

state

ContentControlState

The state of the content control to be initialized.

Overrides ButtonContentControl.Initialize(ContentControlState)

OnApplyTemplate()

Called when the template for the control is applied. This method is responsible for initializing the visual and functional aspects of the control after the template has been applied.

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides ButtonContentControl.OnApplyTemplate()