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
Identifies the side on which the arrow segment is arranged; left and right positions use horizontal layout, while up and bottom use vertical layout.
public static RadProperty ArrowPositionProperty
Identifies whether the arrow segment is sized from the panel's available extent instead of its measured desired size.
public static RadProperty ExpandArrowProperty
Identifies the marker used to locate the child that renders the drop-down arrow segment.
public static RadProperty IsArrowButtonProperty
Identifies the marker used to locate an optional separator between the content and arrow segments.
public static RadProperty IsButtonSeparatorProperty
Identifies the marker used to locate the content child that occupies the area beside the arrow segment.
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.
Fits the panel to its parent's padding and forwards child mouse input through the element hierarchy.
protected override void InitializeFields()
Overrides:
Measures every direct child after subtracting the parent's border from the available size, then accumulates their sizes along the axis determined by ArrowPosition (horizontal for Left/ Right, vertical otherwise). The marker properties identify the content, arrow, and optional separator children used by the layout.