ClassContentControlPicker
Definition
Namespace:Telerik.WinControls.RichTextEditor.UI
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ContentControlPicker : ButtonContentControl, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, IContentControl
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementControlContentControlBaseButtonContentControlContentControlPicker
Derived Classes:
Implements:
Inherited Members
Constructors
ContentControlPicker()
Declaration
public ContentControlPicker()
Fields
DropDownWidthProperty
Identifies the DropDownWidth dependency property.
Declaration
public static readonly RadProperty DropDownWidthProperty
Field Value
Properties
DropDownContent
Declaration
public RadElement DropDownContent { get; set; }
Property Value
DropDownPopup
Declaration
public ContentControlPopup DropDownPopup { get; }
Property Value
DropDownWidth
Gets the value that idicates the width of the drop down content.
Methods
ArrangeOverride(SizeF)
Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.
Declaration
protected override SizeF ArrangeOverride(SizeF arrangeBounds)
Parameters
arrangeBounds
Returns
The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.
Overrides
Remarks
In this method call to the Arrange method of each child must be made.
CreateButtonElement()
Declaration
protected override RadButtonElement CreateButtonElement()
Returns
Overrides
CreatePopupForm()
Declaration
protected virtual ContentControlPopup CreatePopupForm()
Returns
GetButtonShouldBeVisible(ContentControlState)
Declaration
protected override bool GetButtonShouldBeVisible(ContentControlState state)
Parameters
state
Returns
Overrides
OnApplyTemplate()
This method is called before an UI element is displayed.
Declaration
public override void OnApplyTemplate()
Overrides
OnPopupClosed(object, RadPopupClosedEventArgs)
Declaration
protected virtual void OnPopupClosed(object sender, RadPopupClosedEventArgs e)
Parameters
sender
e
OnPopupOpening(object, CancelEventArgs)
Declaration
protected virtual void OnPopupOpening(object sender, CancelEventArgs e)
Parameters
sender
e
OnStatePropertyChanged(object, PropertyChangedEventArgs)
Declaration
protected override void OnStatePropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
sender
e
Overrides
SyncDataContextChildState()
Declaration
protected override void SyncDataContextChildState()
Overrides