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 RadToolbarForm

Represents a specialized form that hosts a RadToolbarFormControl control, providing a modern toolbar-style interface with customizable title bar functionality.

Inheritance
System.Object
RadFormControlBase
RadNonClientUIBaseForm<RadToolbarFormControl, RadToolbarFormBehavior>
RadToolbarForm
Inherited Members
RadNonClientUIBaseForm<RadToolbarFormControl, RadToolbarFormBehavior>.InitializeFormBehavior()
RadNonClientUIBaseForm<RadToolbarFormControl, RadToolbarFormBehavior>.CheckBorderWidth(FormBorderStyle)
RadNonClientUIBaseForm<RadToolbarFormControl, RadToolbarFormBehavior>.IsNonClientControInForm()
RadNonClientUIBaseForm<RadToolbarFormControl, RadToolbarFormBehavior>.AddNonClientControlInForm()
RadNonClientUIBaseForm<RadToolbarFormControl, RadToolbarFormBehavior>.SetIconPrimitiveVisibility(Boolean)
RadNonClientUIBaseForm<RadToolbarFormControl, RadToolbarFormBehavior>.OnShown(EventArgs)
RadNonClientUIBaseForm<RadToolbarFormControl, RadToolbarFormBehavior>.NonClientUIFormBehavior
RadNonClientUIBaseForm<RadToolbarFormControl, RadToolbarFormBehavior>.AddNonClientControlOnShownRuntime
RadNonClientUIBaseForm<RadToolbarFormControl, RadToolbarFormBehavior>.AllowAero
RadNonClientUIBaseForm<RadToolbarFormControl, RadToolbarFormBehavior>.HasOwnToolbar
RadNonClientUIBaseForm<RadToolbarFormControl, RadToolbarFormBehavior>.FormBorderStyle
RadFormControlBase.newBounds
RadFormControlBase.oldDpi
RadFormControlBase.currentDpi
RadFormControlBase.isBehaviorPrepared
RadFormControlBase.controlIsInitializingRootComponent
RadFormControlBase.isPainting
RadFormControlBase.Construct()
RadFormControlBase.GetUseNewLayout()
RadFormControlBase.OnCreateControl()
RadFormControlBase.LoadElementTree()
RadFormControlBase.LoadElementTree(Size)
RadFormControlBase.OnLoad(Size)
RadFormControlBase.OnLoad(EventArgs)
RadFormControlBase.OnShown(EventArgs)
RadFormControlBase.OnPaint(PaintEventArgs)
RadFormControlBase.OnPaintBackground(PaintEventArgs)
RadFormControlBase.SetIconPrimitiveVisibility(Boolean)
RadFormControlBase.ProcessDialogKey(Keys)
RadFormControlBase.UpdateDefaultButton()
RadFormControlBase.ShouldSerializeBackColor()
RadFormControlBase.OnBackColorChanged(EventArgs)
RadFormControlBase.ShouldSerializeForeColor()
RadFormControlBase.OnForeColorChanged(EventArgs)
RadFormControlBase.ShouldSerializeFont()
RadFormControlBase.OnFontChanged(EventArgs)
RadFormControlBase.OnParentChanged(EventArgs)
RadFormControlBase.ShouldSerializeProperty(RadProperty)
RadFormControlBase.ResetFormBehavior(Boolean)
RadFormControlBase.Dispose(Boolean)
RadFormControlBase.WndProc(Message)
RadFormControlBase.PerformDesignModeLocationCorrection(Message)
RadFormControlBase.CallBaseWndProc(Message)
RadFormControlBase.IComponentTreeHandler.GetAmbientPropertyValue(RadProperty)
RadFormControlBase.IComponentTreeHandler.OnAmbientPropertyChanged(RadProperty)
RadFormControlBase.IComponentTreeHandler.OnFocusRequested(RadElement)
RadFormControlBase.IComponentTreeHandler.OnCaptureChangeRequested(RadElement, Boolean)
RadFormControlBase.ProcessFocusRequested(RadElement)
RadFormControlBase.ProcessCaptureChangeRequested(RadElement, Boolean)
RadFormControlBase.OnNotifyPropertyChanged(String)
RadFormControlBase.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadFormControlBase.CreateChildItems(RadElement)
RadFormControlBase.CreateRootElement()
RadFormControlBase.OnThemeNameChanged(ThemeNameChangedEventArgs)
RadFormControlBase.OnThemeChanged()
RadFormControlBase.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
RadFormControlBase.OnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadFormControlBase.OnHandleCreated(EventArgs)
RadFormControlBase.OnVisibleChanged(EventArgs)
RadFormControlBase.IComponentTreeHandler.InitializeRootElement(RootRadElement)
RadFormControlBase.IComponentTreeHandler.CreateRootElement()
RadFormControlBase.IComponentTreeHandler.CreateChildItems(RadElement)
RadFormControlBase.IComponentTreeHandler.CallOnThemeNameChanged(ThemeNameChangedEventArgs)
RadFormControlBase.OnAutoSizeChanged(EventArgs)
RadFormControlBase.OnLayout(LayoutEventArgs)
RadFormControlBase.CreateHandle()
RadFormControlBase.SetClientSizeCore(Int32, Int32)
RadFormControlBase.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)
RadFormControlBase.GetPreferredSize(Size)
RadFormControlBase.InvalidateIfNotSuspended()
RadFormControlBase.IComponentTreeHandler.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
RadFormControlBase.IComponentTreeHandler.CallOnMouseCaptureChanged(EventArgs)
RadFormControlBase.IComponentTreeHandler.CallOnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadFormControlBase.InvalidateElement(RadElement)
RadFormControlBase.InvalidateElement(RadElement, Rectangle)
RadFormControlBase.AddInvalidatedRect(Rectangle)
RadFormControlBase.SuspendUpdate()
RadFormControlBase.ResumeUpdate()
RadFormControlBase.ResumeUpdate(Boolean)
RadFormControlBase.RegisterHostedControl(RadHostItem)
RadFormControlBase.UnregisterHostedControl(RadHostItem, Boolean)
RadFormControlBase.ControlDefinesThemeForElement(RadElement)
RadFormControlBase.OnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadFormControlBase.IComponentTreeHandler.CallOnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadFormControlBase.ControlThemeChangedCallback()
RadFormControlBase.IComponentTreeHandler.GetShowFocusCues()
RadFormControlBase.InvokeLayoutCallback(LayoutCallback)
RadFormControlBase.BeginInit()
RadFormControlBase.EndInit()
RadFormControlBase.HandleDpiChanged()
RadFormControlBase.ScaleControl(SizeF, BoundsSpecified)
RadFormControlBase.SuspendDpiScaling()
RadFormControlBase.ResumeDpiScaling()
RadFormControlBase.OnWm_SettingChange(Message)
RadFormControlBase.IComponentTreeHandler.get_Name()
RadFormControlBase.IComponentTreeHandler.set_Name(String)
RadFormControlBase.Site
RadFormControlBase.AnalyticsName
RadFormControlBase.EnableAnalytics
RadFormControlBase.IsLoaded
RadFormControlBase.MaximumSize
RadFormControlBase.MinimumSize
RadFormControlBase.FormBorderStyle
RadFormControlBase.FormBehavior
RadFormControlBase.Behavior
RadFormControlBase.SmallImageList
RadFormControlBase.FocusedElement
RadFormControlBase.AllowShowFocusCues
RadFormControlBase.ShowItemToolTips
RadFormControlBase.CommandBindings
RadFormControlBase.EnableKeyMap
RadFormControlBase.WindowsSettings
RadFormControlBase.BackColor
RadFormControlBase.ForeColor
RadFormControlBase.Font
RadFormControlBase.CreateParams
RadFormControlBase.IsDesignMode
RadFormControlBase.ElementTree
RadFormControlBase.IComponentTreeHandler.Behavior
RadFormControlBase.IComponentTreeHandler.ThemeClassName
RadFormControlBase.ThemeName
RadFormControlBase.RootElement
RadFormControlBase.IsUpdateSuspended
RadFormControlBase.IComponentTreeHandler.SmallImageList
RadFormControlBase.ImageList
RadFormControlBase.SmallImageScalingSize
RadFormControlBase.ImageScalingSize
RadFormControlBase.IComponentTreeHandler.Initializing
RadFormControlBase.LayoutManager
RadFormControlBase.IsInitialized
RadFormControlBase.IsPerformingScale
RadFormControlBase.HasOwnToolbar
RadFormControlBase.IsDpiScalingSuspended
RadFormControlBase.ThemeNameChanged
RadFormControlBase.ToolTipTextNeeded
RadFormControlBase.ScreenTipNeeded
RadFormControlBase.Initialized
RadFormControlBase.PropertyChanged
RadFormControlBase.WindowsThemeChanged
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll

Syntax

public class RadToolbarForm : RadNonClientUIBaseForm<RadToolbarFormControl, RadToolbarFormBehavior>, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider

Constructors

RadToolbarForm()

Declaration
public RadToolbarForm()

Properties

AddNonClientControlOnShownRuntime

Gets a value indicating whether the non-client control should be added when the form is shown at runtime. Always returns true for RadToolbarForm.

Declaration
protected override bool AddNonClientControlOnShownRuntime { get; }
Property Value
System.Boolean

Overrides
Telerik.WinControls.UI.RadNonClientUIBaseForm<Telerik.WinControls.UI.RadToolbarFormControl, Telerik.WinControls.UI.RadToolbarFormBehavior>.AddNonClientControlOnShownRuntime

AllowAero

This property is not relevant for this class.

Declaration
public override bool AllowAero { get; set; }
Property Value
System.Boolean

Overrides
Telerik.WinControls.UI.RadNonClientUIBaseForm<Telerik.WinControls.UI.RadToolbarFormControl, Telerik.WinControls.UI.RadToolbarFormBehavior>.AllowAero

AllowTheming

This property is not relevant for this class.

Declaration
public override bool AllowTheming { get; set; }
Property Value
System.Boolean

Overrides
RadFormControlBase.AllowTheming

FormElement

Gets the main ToolbarFormElement that represents the visual structure of the RadToolbarForm.

Declaration
public ToolbarFormElement FormElement { get; }
Property Value
ToolbarFormElement

ShowIcon

Gets or sets a value indicating whether an icon is displayed in the caption bar of the form. This property is synchronized with the ToolbarFormControl when available.

Declaration
public bool ShowIcon { get; set; }
Property Value
System.Boolean

ShowText

Gets or sets a value indicating whether to display the text in the title bar of the form. This property requires the ToolbarFormControl to be initialized.

Declaration
public bool ShowText { get; set; }
Property Value
System.Boolean

ThemeClassName

Gets or sets the class name of the theme to be used for styling this RadToolbarForm. The default value is "Telerik.WinControls.UI.RadToolbarForm".

Declaration
public override string ThemeClassName { get; set; }
Property Value
System.String

Overrides
RadFormControlBase.ThemeClassName

ToolbarFormControl

Gets the RadToolbarFormControl instance that is used internally by the form to provide toolbar functionality.

Declaration
public RadToolbarFormControl ToolbarFormControl { get; }
Property Value
RadToolbarFormControl

Methods

AddNonClientControlInForm()

Adds the non-client control to the form. In design mode, uses the base implementation. At runtime, creates a RadToolbarFormControl through the ToolbarFormControlCreating event.

Declaration
protected override void AddNonClientControlInForm()
Overrides
Telerik.WinControls.UI.RadNonClientUIBaseForm<Telerik.WinControls.UI.RadToolbarFormControl, Telerik.WinControls.UI.RadToolbarFormBehavior>.AddNonClientControlInForm()

InitializeFormBehavior()

Initializes the form behavior instance that manages the toolbar form's non-client area behavior and appearance.

Declaration
protected override FormControlBehavior InitializeFormBehavior()
Returns
FormControlBehavior

A RadToolbarFormBehavior instance that handles the form's custom behavior.

Overrides
Telerik.WinControls.UI.RadNonClientUIBaseForm<Telerik.WinControls.UI.RadToolbarFormControl, Telerik.WinControls.UI.RadToolbarFormBehavior>.InitializeFormBehavior()

Events

ToolbarFormControlCreating

Occurs when the RadToolbarFormControl is being created at runtime, allowing customization of the control before it is added to the form. This event is only raised when the form is created at runtime, not during design time.

Declaration
public event EventHandler<ToolbarFormControlCreatingEventArgs> ToolbarFormControlCreating
Event Type
System.EventHandler<ToolbarFormControlCreatingEventArgs>

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.