skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadToolbarFormControl

Inheritance
System.Object
RadControl
RadNonClientUIControl
RadNCEnabledControl
RadToolbarFormControl
Inherited Members
RadNCEnabledControl.WndProc(Message)
RadNCEnabledControl.OnNCPaint(Graphics)
RadNCEnabledControl.GetNCMetrics()
RadNCEnabledControl.WmNCHitTest(Message)
RadNCEnabledControl.EnableNCPainting
RadNCEnabledControl.EnableNCModification
RadControl.isResizing2
RadControl.isDisposing2
RadControl.invalidResizeRect
RadControl.isAccessibilityRequested
RadControl.Dispose(Boolean)
RadControl.Construct()
RadControl.CreateBehavior()
RadControl.CreateRootElement()
RadControl.LoadElementTree()
RadControl.LoadElementTree(Size)
RadControl.SetIsInitializing(Boolean)
RadControl.ShouldSerializeBackColor()
RadControl.SetBackColorThemeOverrides()
RadControl.ResetBackColorThemeOverrides()
RadControl.ShouldSerializeForeColor()
RadControl.SetForeColorThemeOverrides()
RadControl.ResetForeColorThemeOverrides()
RadControl.ShouldSerializeFont()
RadControl.OnKeyDown(KeyEventArgs)
RadControl.OnKeyUp(KeyEventArgs)
RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)
RadControl.OnKeyPress(KeyPressEventArgs)
RadControl.OnClick(EventArgs)
RadControl.OnDoubleClick(EventArgs)
RadControl.OnMouseDown(MouseEventArgs)
RadControl.OnMouseUp(MouseEventArgs)
RadControl.OnMouseEnter(EventArgs)
RadControl.OnMouseLeave(EventArgs)
RadControl.OnMouseMove(MouseEventArgs)
RadControl.OnMouseHover(EventArgs)
RadControl.OnMouseWheel(MouseEventArgs)
RadControl.OnMouseCaptureChanged(EventArgs)
RadControl.OnGotFocus(EventArgs)
RadControl.OnLostFocus(EventArgs)
RadControl.OnCreateControl()
RadControl.OnHandleDestroyed(EventArgs)
RadControl.OnParentChanged(EventArgs)
RadControl.OnVisibleChanged(EventArgs)
RadControl.OnFontChanged(EventArgs)
RadControl.OnForeColorChanged(EventArgs)
RadControl.OnBackColorChanged(EventArgs)
RadControl.OnEnabledChanged(EventArgs)
RadControl.OnBindingContextChanged(EventArgs)
RadControl.OnLocationChanged(EventArgs)
RadControl.OnPaddingChanged(EventArgs)
RadControl.OnRightToLeftChanged(EventArgs)
RadControl.OnPaint(PaintEventArgs)
RadControl.OnLayout(LayoutEventArgs)
RadControl.OnAutoSizeChanged(EventArgs)
RadControl.OnInvalidated(RadElement)
RadControl.OnLoad(Size)
RadControl.OnCaptureLosing()
RadControl.OnThemeChanged()
RadControl.OnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadControl.OnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)
RadControl.ProcessMnemonic(Char)
RadControl.ProcessFocusRequested(RadElement)
RadControl.ProcessCaptureChangeRequested(RadElement, Boolean)
RadControl.CallOnMouseCaptureChanged(EventArgs)
RadControl.CallBaseOnGotFocus(EventArgs)
RadControl.CallBaseOnLostFocus(EventArgs)
RadControl.CallOnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadControl.CallOnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadControl.CallOnMouseUp(MouseEventArgs)
RadControl.CallOnMouseDown(MouseEventArgs)
RadControl.CallOnClick(EventArgs)
RadControl.CallOnDoubleClick(EventArgs)
RadControl.CallOnMouseEnter(EventArgs)
RadControl.CallOnMouseWheel(MouseEventArgs)
RadControl.CallOnMouseLeave(EventArgs)
RadControl.CallOnMouseMove(MouseEventArgs)
RadControl.CallOnMouseHover(EventArgs)
RadControl.CallOnPreviewKeyDown(PreviewKeyDownEventArgs)
RadControl.CallBaseOnKeyDown(KeyEventArgs)
RadControl.CallOnKeyDown(KeyEventArgs)
RadControl.CallBaseOnKeyPress(KeyPressEventArgs)
RadControl.CallOnKeyPress(KeyPressEventArgs)
RadControl.IsInputKey(Keys)
RadControl.GetInputElement()
RadControl.CallBaseOnKeyUp(KeyEventArgs)
RadControl.CallOnKeyUp(KeyEventArgs)
RadControl.CallOnThemeNameChanged(ThemeNameChangedEventArgs)
RadControl.CallOnVisibleChanged(EventArgs)
RadControl.BeginInit()
RadControl.EndInit()
RadControl.OnNotifyPropertyChanged(String)
RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadControl.IComponentTreeHandler.GetShowFocusCues()
RadControl.IComponentTreeHandler.CreateRootElement()
RadControl.IComponentTreeHandler.CreateChildItems(RadElement)
RadControl.IComponentTreeHandler.InitializeRootElement(RootRadElement)
RadControl.IComponentTreeHandler.InvalidateElement(RadElement)
RadControl.IComponentTreeHandler.InvalidateElement(RadElement, Rectangle)
RadControl.IComponentTreeHandler.InvalidateIfNotSuspended()
RadControl.IComponentTreeHandler.GetAmbientPropertyValue(RadProperty)
RadControl.IComponentTreeHandler.ControlThemeChangedCallback()
RadControl.IComponentTreeHandler.OnAmbientPropertyChanged(RadProperty)
RadControl.IComponentTreeHandler.OnFocusRequested(RadElement)
RadControl.IComponentTreeHandler.OnCaptureChangeRequested(RadElement, Boolean)
RadControl.IComponentTreeHandler.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
RadControl.IComponentTreeHandler.CallOnThemeNameChanged(ThemeNameChangedEventArgs)
RadControl.IComponentTreeHandler.CallOnMouseCaptureChanged(EventArgs)
RadControl.IComponentTreeHandler.CallOnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadControl.IComponentTreeHandler.CallOnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadControl.GetPreferredSize(Size)
RadControl.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)
RadControl.GetRootElementDesiredSize(Int32, Int32, Int32, Int32)
RadControl.OnZoomGesture(ZoomGestureEventArgs)
RadControl.OnRotateGesture(RotateGestureEventArgs)
RadControl.OnPanGesture(PanGestureEventArgs)
RadControl.OnTwoFingerTapGesture(GestureEventArgs)
RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)
RadControl.OnGesture(GestureEventArgs)
RadControl.ProcessGesture(Message)
RadControl.EnableGesture(GestureType)
RadControl.DisableGesture(GestureType)
RadControl.Refresh()
RadControl.SuspendUpdate()
RadControl.ResumeUpdate()
RadControl.ResumeUpdate(Boolean)
RadControl.InvokeLayoutCallback(LayoutCallback)
RadControl.RegisterHostedControl(RadHostItem)
RadControl.UnregisterHostedControl(RadHostItem, Boolean)
RadControl.ControlDefinesThemeForElement(RadElement)
RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)
RadControl.GetPlainText()
RadControl.CanEditUIElement(RadElement)
RadControl.GetChildAt(Int32)
RadControl.ShouldSerializeProperty(RadProperty)
RadControl.ShouldSerializeProperty(RadProperty, RadObject)
RadControl.ResetProperty(RadProperty, RadObject)
RadControl.CanEditElementAtDesignTime(RadElement)
RadControl.GetControlDefaultSize()
RadControl.GetDpiScaledSize(Size)
RadControl.GetDpiScaledSize(SizeF)
RadControl.ProcessCodedUIMessage(IPCMessage)
RadControl.FindPropertyInChildren(RadControl, IPCMessage)
RadControl.CallAccessibilityNotifyClients(AccessibleEvents, Int32)
RadControl.IPCHost.ProcessMessage(IPCMessage)
RadControl.ScaleControl(SizeF, BoundsSpecified)
RadControl.PerformRadAutoScale(Nullable<BoundsSpecified>)
RadControl.SetRadAutoScale(Boolean)
RadControl.IComponentTreeHandler.get_Name()
RadControl.IComponentTreeHandler.set_Name(String)
RadControl.EnableDpiScaling
RadControl.EnableRadAutoScale
RadControl.EnableRadFormInitialDpiScaling
RadControl.EnableImageDpiScaling
RadControl.EnableSvgImages
RadControl.IsTrial
RadControl.IsLoaded
RadControl.LayoutManager
RadControl.ElementTree
RadControl.UseCompatibleTextRenderingDefaultValue
RadControl.Behavior
RadControl.RootElement
RadControl.Padding
RadControl.ThemeName
RadControl.Text
RadControl.EnableTheming
RadControl.ThemeClassName
RadControl.ImageList
RadControl.ImageScalingSize
RadControl.UseCompatibleTextRendering
RadControl.AutoSize
RadControl.MaximumSize
RadControl.MinimumSize
RadControl.Focusable
RadControl.Site
RadControl.CausesValidation
RadControl.IsInitializing
RadControl.SmallImageList
RadControl.SmallImageScalingSize
RadControl.IsDesignMode
RadControl.IsDisplayed
RadControl.FocusedElement
RadControl.AllowShowFocusCues
RadControl.ShowItemToolTips
RadControl.CommandBindings
RadControl.EnableKeyMap
RadControl.BackColor
RadControl.ForeColor
RadControl.Font
RadControl.ValidationCancel
RadControl.IComponentTreeHandler.IsDesignMode
RadControl.IComponentTreeHandler.ElementTree
RadControl.IComponentTreeHandler.Behavior
RadControl.IComponentTreeHandler.Initializing
RadControl.IComponentTreeHandler.ThemeClassName
RadControl.EnableGestures
RadControl.EnableAnalytics
RadControl.AnalyticsName
RadControl.EnableRadAccessibilityObjects
RadControl.AccessibilityRequested
RadControl.EnableCodedUITests
RadControl.EnableCodedUITestsDefaultValue
RadControl.EnableUIAutomation
RadControl.EnableUIAutomationDefaultValue
RadControl.IPCHost.Context
RadControl.ElementInvalidated
RadControl.ToolTipTextNeeded
RadControl.ScreenTipNeeded
RadControl.ThemeNameChanged
RadControl.Initialized
RadControl.PropertyChanged
RadControl.ZoomGesture
RadControl.RotateGesture
RadControl.PanGesture
RadControl.TwoFingerTapGesture
RadControl.PressAndTapGesture
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll

Syntax

public class RadToolbarFormControl : RadNCEnabledControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider

Constructors

RadToolbarFormControl()

Initializes a new instance of the RadToolbarFormControl class. Sets up default properties including System.Windows.Forms.Control.AutoSize, System.Windows.Forms.Control.CausesValidation, and System.Windows.Forms.Control.Dock behavior.

Declaration
public RadToolbarFormControl()

Properties

CaptionHeight

Gets or sets the height of the extended title bar.

Declaration
public virtual int CaptionHeight { get; set; }
Property Value
System.Int32

CenterItems

Gets the collection of items positioned in the center of the toolbar form control.

Declaration
[RadDescription("CenterItems", typeof(RadToolbarFormControlElement))]
[RadNewItem("Type here", true, false)]
[RadEditItemsAction]
public virtual RadItemOwnerCollection CenterItems { get; }
Property Value
RadItemOwnerCollection

A RadItemOwnerCollection containing the center-positioned toolbar items.

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>

DefaultSize

Gets the default size of the control.

Declaration
protected override Size DefaultSize { get; }
Property Value
System.Drawing.Size

A System.Drawing.Size representing the default dimensions (400x40) of the control.

FarItems

Gets the collection of items positioned on the far side (typically right) of the toolbar form control.

Declaration
[RadDescription("FarItems", typeof(RadToolbarFormControlElement))]
[RadNewItem("Type here", true, false)]
[RadEditItemsAction]
public virtual RadItemOwnerCollection FarItems { get; }
Property Value
RadItemOwnerCollection

A RadItemOwnerCollection containing the far-positioned toolbar items.

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>

HelpButtonElement

Gets the help button element in the form's caption bar.

Declaration
public override RadItem HelpButtonElement { get; }
Property Value
RadItem

The RadItem representing the help button element.

Overrides
RadNCEnabledControl.HelpButtonElement

IconCaptionElement

Gets the icon element displayed in the caption bar of the form.

Declaration
public override ImagePrimitive IconCaptionElement { get; }
Property Value
ImagePrimitive

The ImagePrimitive representing the icon element.

Overrides
RadNCEnabledControl.IconCaptionElement

MaximizeButtonElement

Gets the maximize button element in the form's caption bar.

Declaration
public override RadItem MaximizeButtonElement { get; }
Property Value
RadItem

The RadItem representing the maximize button element.

Overrides
RadNCEnabledControl.MaximizeButtonElement

MinimizeButtonElement

Gets the minimize button element in the form's caption bar.

Declaration
public override RadItem MinimizeButtonElement { get; }
Property Value
RadItem

The RadItem representing the minimize button element.

Overrides
RadNCEnabledControl.MinimizeButtonElement

NearItems

Gets the collection of items positioned on the near side (typically left) of the toolbar form control.

Declaration
[RadDescription("NearItems", typeof(RadToolbarFormControlElement))]
[RadNewItem("Type here", true, false)]
[RadEditItemsAction]
public virtual RadItemOwnerCollection NearItems { get; }
Property Value
RadItemOwnerCollection

A RadItemOwnerCollection containing the near-positioned toolbar items.

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

SystemButtonsElement

Gets the system buttons element containing the minimize, maximize, and close buttons in the form's caption bar.

Declaration
public override RadItem SystemButtonsElement { get; }
Property Value
RadItem

The RadItem representing the system buttons element.

Overrides
RadNCEnabledControl.SystemButtonsElement

TextCaptionElement

Gets the text element displayed in the caption bar of the form.

Declaration
public override RadElement TextCaptionElement { get; }
Property Value
RadElement

The RadElement representing the text caption element.

Overrides
RadNCEnabledControl.TextCaptionElement

TextPosition

Gets or sets the position of the text inside the title bar.

Declaration
public ToolbarTextPosition TextPosition { get; set; }
Property Value
ToolbarTextPosition

ToolbarFormControlElement

Gets the instance of RadToolbarFormControlElement wrapped by this control. The RadToolbarFormControlElement is the main element in the hierarchy tree and encapsulates the actual functionality of RadToolbarFormControlElement.

Declaration
public RadToolbarFormControlElement ToolbarFormControlElement { get; }
Property Value
RadToolbarFormControlElement

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

CreateChildItems(RadElement)

Creates the child elements of this control by adding the main RadToolbarFormControlElement to the root element.

Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement parent

The parent element to which child elements will be added.

Overrides
RadControl.CreateChildItems(RadElement)

CreateToolbarFormControlElement()

Creates and returns a new instance of RadToolbarFormControlElement. This method can be overridden to provide custom element implementations.

Declaration
protected virtual RadToolbarFormControlElement CreateToolbarFormControlElement()
Returns
RadToolbarFormControlElement

A new instance of RadToolbarFormControlElement.

InitializeRootElement(RootRadElement)

Initializes the root element of the control by setting its vertical stretch behavior.

Declaration
protected override void InitializeRootElement(RootRadElement rootElement)
Parameters
RootRadElement rootElement

The root element to initialize.

Overrides
RadControl.InitializeRootElement(RootRadElement)

ProcessAutoSizeChanged(Boolean)

Processes changes to the System.Windows.Forms.Control.AutoSize property. This method is intentionally empty for this control as auto-sizing behavior is handled differently.

Declaration
protected override void ProcessAutoSizeChanged(bool value)
Parameters
System.Boolean value

The new value of the AutoSize property.

Overrides
RadControl.ProcessAutoSizeChanged(Boolean)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.