Arranges a drop-down editor's content element alongside its arrow button (and optional button
separator), positioning the arrow according to ArrowPosition. Used by
RadComboBoxElement, DropDownButton, and similar controls.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class DropDownEditorLayoutPanel : DockLayoutPanel, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementLayoutPanelDockLayoutPanelDropDownEditorLayoutPanel...
Implements:
Inherited Members
Constructors
public DropDownEditorLayoutPanel()
Fields
public static RadProperty ArrowPositionProperty
public static RadProperty ExpandArrowProperty
public static RadProperty IsArrowButtonProperty
public static RadProperty IsButtonSeparatorProperty
public static RadProperty IsContentProperty
Properties
Note: this property is supposed to be used only when this.Parent.AutoSizeMode==WrapAroundChildren
public DropDownButtonArrowPosition ArrowPosition { get; set; }
Gets or sets whether the arrow button expands to fill all space not occupied by the content element, instead of using its own desired size.
public bool ExpandArrow { get; set; }
Methods
Positions the content, arrow button, and optional separator either horizontally or vertically depending on ArrowPosition.
Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.
protected override void InitializeFields()
Overrides:
Measures the content, arrow button, and optional separator children, reducing the available size by the parent's border, and accumulates their sizes along the axis determined by ArrowPosition (horizontal for Left/Right, vertical otherwise).