Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class PromptInputDockLayoutPanel : DockLayoutPanel, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementLayoutPanelDockLayoutPanelPromptInputDockLayoutPanel...
Implements:
Inherited Members
Constructors
public PromptInputDockLayoutPanel()
Properties
Gets or sets the input text box hosted by this panel. Its measured width is constrained based on its current line count (see MeasureOverride(SizeF)), regardless of whether the left/right button panels are currently its siblings.
public ChatInputTextBoxElement InputTextBox { get; set; }
Gets or sets the left buttons panel. Its DesiredSize width is subtracted from the available width when constraining InputTextBox to a single line.
public StackLayoutElementLite LeftButtons { get; set; }
Gets or sets the right buttons panel. Its DesiredSize width is subtracted from the available width when constraining InputTextBox to a single line.
public StackLayoutElementLite RightButtons { get; set; }
Methods
Measures the size required to accommodate all child elements with their docking constraints.
protected override SizeF MeasureOverride(SizeF availableSize)
A SizeF representing the minimum size needed to display all child elements with their requested dock positions.
Overrides:
This method implements the measurement logic for dock-based layout:
- Measures each child element with the remaining available space
- Accounts for space consumption based on dock positions (Left/Right consume width, Top/Bottom consume height)
- Calculates total space requirements for optimal layout
- Ensures that docked elements don't exceed available constraints
The measurement order follows the child collection sequence, where earlier elements take priority in space allocation, affecting the available space for subsequent elements.
Gets a value indicating, whether a child will be measured during the MeasureOverride.
protected override bool ShouldMeasureChild(RadElement child)
The child.
Returns:Whether the child will be measured in MeasureOverride.
Overrides: