New to Telerik UI for WPFStart a free 30-day trial

Represents a content control containing a drop-down button.

Definition

Namespace:Telerik.Windows.Controls.RichTextBoxUI

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
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

C#
public ContentControlPicker()

Fields

DropDownWidthProperty

DependencyProperty

Identifies the DropDownWidth dependency property.

C#
public static readonly DependencyProperty DropDownWidthProperty

DropDownWidthPropertyKey

DependencyPropertyKey

C#
public static readonly DependencyPropertyKey DropDownWidthPropertyKey

IsContentLockedProperty

DependencyProperty

Identifies the IsContentLocked dependency property.

C#
public static readonly DependencyProperty IsContentLockedProperty

IsContentLockedPropertyKey

DependencyPropertyKey

C#
public static readonly DependencyPropertyKey IsContentLockedPropertyKey

Properties

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

C#
public double DropDownWidth { get; }

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

C#
public bool IsContentLocked { get; }

Methods

C#
protected override Size ArrangeOverride(Size arrangeBounds)
Parameters:arrangeBoundsSizeReturns:

Size

Overrides: ButtonContentControl.ArrangeOverride(Size)

Initializes the content control picker with the specified state.

C#
public override void Initialize(ContentControlState state)
Parameters:stateContentControlState

The state of the content control to be initialized.

Overrides: ButtonContentControl.Initialize(ContentControlState)

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.

C#
public override void OnApplyTemplate()

Overrides: ButtonContentControl.OnApplyTemplate()