Class RadToolbarFormControlElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadToolbarFormControlElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadToolbarFormControlElement()
Declaration
public RadToolbarFormControlElement()
Fields
CaptionHeightProperty
CenterItemsMarginProperty
FarItemsMarginProperty
IsToolbarFormActiveProperty
NearItemsMarginProperty
ToolbarFormWindowStateProperty
Properties
CaptionBorder
Gets the BorderPrimitiveinstance that represents the border of the toolbar control's caption.
Declaration
public BorderPrimitive CaptionBorder { get; }
Property Value
BorderPrimitive
|
CaptionFill
Gets the FillPrimitiveinstance that represents the fill of the toolbar control's caption.
Declaration
public FillPrimitive CaptionFill { get; }
Property Value
FillPrimitive
|
CaptionHeight
Gets or sets the height of the extended title bar.
Declaration
public int CaptionHeight { get; set; }
Property Value
System.Int32
|
CaptionTextElement
Gets the text element.
Declaration
public LightVisualElement CaptionTextElement { get; }
Property Value
LightVisualElement
|
CenterItems
Gets a collection of the items close to the start of the form.
Declaration
[RadEditItemsAction]
public RadItemOwnerCollection CenterItems { get; }
Property Value
RadItemOwnerCollection
|
CenterItemsContainer
Gets the center items container.
Declaration
public WrapLayoutPanel CenterItemsContainer { get; }
Property Value
WrapLayoutPanel
|
CenterItemsMargin
Gets or sets the margin that defines the margin of the WrapLayoutPanel holding the center items.
Declaration
public Padding CenterItemsMargin { get; set; }
Property Value
System.Windows.Forms.Padding
|
CenterItemsVerticalAlignment
Gets or sets the vertical alignment of the center toolbar items.
Declaration
public RadVerticalAlignment CenterItemsVerticalAlignment { get; set; }
Property Value
RadVerticalAlignment
|
CenterItemsWrapWeight
Gets or sets the wrap weight while performing the layout of the CenterItems container. The property is only relevant in the Weight wrap mode. The value is in percentage and determines what part of the available space is dedicated to the container.
Declaration
public int? CenterItemsWrapWeight { get; set; }
Property Value
System.Nullable<System.Int32>
|
CloseButton
Gets the Close button
Declaration
public RadButtonElement CloseButton { get; }
Property Value
RadButtonElement
|
FarItems
Gets a collection of the items close to the start of the form.
Declaration
[RadEditItemsAction]
public RadItemOwnerCollection FarItems { get; }
Property Value
RadItemOwnerCollection
|
FarItemsContainer
Gets the far items container.
Declaration
public WrapLayoutPanel FarItemsContainer { get; }
Property Value
WrapLayoutPanel
|
FarItemsMargin
Gets or sets the margin that defines the margin of the WrapLayoutPanel holding the far items.
Declaration
public Padding FarItemsMargin { get; set; }
Property Value
System.Windows.Forms.Padding
|
FarItemsVerticalAlignment
Gets or sets the vertical alignment of the far toolbar items.
Declaration
public RadVerticalAlignment FarItemsVerticalAlignment { get; set; }
Property Value
RadVerticalAlignment
|
FarItemsWrapWeight
Gets or sets the wrap weight while performing the layout of the FarItems container. The property is only relevant in the Weight wrap mode. The value is in percentage and determines what part of the available space is dedicated to the container.
Declaration
public int? FarItemsWrapWeight { get; set; }
Property Value
System.Nullable<System.Int32>
|
HelpButton
Gets the Help button.
Declaration
public RadButtonElement HelpButton { get; }
Property Value
RadButtonElement
|
IconElement
Gets the icon element.
Declaration
public ImagePrimitive IconElement { get; }
Property Value
ImagePrimitive
|
MaximizeButton
Gets the Maximize button
Declaration
public RadButtonElement MaximizeButton { get; }
Property Value
RadButtonElement
|
MinimizeButton
Gets the Minimize button
Declaration
public RadButtonElement MinimizeButton { get; }
Property Value
RadButtonElement
|
NearItems
Gets a collection of the items close to the start of the form.
Declaration
[RadEditItemsAction]
public RadItemOwnerCollection NearItems { get; }
Property Value
RadItemOwnerCollection
|
NearItemsContainer
Gets the near items container.
Declaration
public WrapLayoutPanel NearItemsContainer { get; }
Property Value
WrapLayoutPanel
|
NearItemsMargin
Gets or sets the margin that defines the margin of the WrapLayoutPanel holding the near items.
Declaration
public Padding NearItemsMargin { get; set; }
Property Value
System.Windows.Forms.Padding
|
NearItemsVerticalAlignment
Gets or sets the vertical alignment of the near toolbar items.
Declaration
public RadVerticalAlignment NearItemsVerticalAlignment { get; set; }
Property Value
RadVerticalAlignment
|
NearItemsWrapWeight
Gets or sets the wrap weight while performing the layout of the NearItems container. The property is only relevant in the Weight wrap mode. The value is in percentage and determines what part of the available space is dedicated to the container.
Declaration
public int? NearItemsWrapWeight { get; set; }
Property Value
System.Nullable<System.Int32>
|
ShowIcon
Gets or sets a value indicating whether an icon is displayed in the caption bar of the form.
Declaration
public virtual bool ShowIcon { get; set; }
Property Value
System.Boolean
|
ShowText
Gets or sets whether the element holding the text is visible.
Declaration
public virtual bool ShowText { get; set; }
Property Value
System.Boolean
|
SystemButtons
TextPosition
Gets or sets the position of the text inside the title bar.
Declaration
public ToolbarTextPosition TextPosition { get; set; }
Property Value
ToolbarTextPosition
|
WrapMode
Determines how the element containers are wrapped in relation to the available space. Both options will allocate the space for each of the containers proportionally from the totally available space. The DesiredSize will calculate the proportion depending on the DesiredSize of the element containers. The Weight option will calculate the proportion depending on the items count or the explicitly specified items weight.
Declaration
public ToolbarWrapMode WrapMode { get; set; }
Property Value
ToolbarWrapMode
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CreateBorderElement()
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateElementsContainer()
CreateFillElement()
CreateIconElement()
CreateTextElement()
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnClose(Object, EventArgs)
Declaration
protected void OnClose(object sender, EventArgs args)
Parameters
System.Object
sender
|
System.EventArgs
args
|
OnDoubleClick(EventArgs)
Declaration
protected override void OnDoubleClick(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnHelpButtonClick(Object, EventArgs)
Declaration
protected void OnHelpButtonClick(object sender, EventArgs e)
Parameters
System.Object
sender
|
System.EventArgs
e
|
OnMaximizeRestore(Object, EventArgs)
Declaration
protected void OnMaximizeRestore(object sender, EventArgs args)
Parameters
System.Object
sender
|
System.EventArgs
args
|
OnMinimize(Object, EventArgs)
Declaration
protected void OnMinimize(object sender, EventArgs args)
Parameters
System.Object
sender
|
System.EventArgs
args
|
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
ShouldArrangeChild(RadElement)
Declaration
protected override bool ShouldArrangeChild(RadElement child)
Parameters
RadElement
child
|
Returns
System.Boolean
|
Overrides
ShouldMeasureChild(RadElement)
Declaration
protected override bool ShouldMeasureChild(RadElement child)
Parameters
RadElement
child
|
Returns
System.Boolean
|