• Product Bundles

    DevCraft

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

    • Conversational UI
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for Xamarin
    Desktop
    UI for WinForms UI for WPF UI for WinUI UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    Debugging
    FiddlerCore Fiddler Everywhere
    CMS
    Sitefinity
    UX Design
    Unite UX
    Document Management
    Telerik Document Processing
    Innovations Lab
    VR DataViz
    Free Tools
    Fiddler Classic JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Edit Profile
    • Payment Profiles
    • Renewals & Upgrades
    • Support Tickets
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadRibbonFormBehavior

Inheritance
System.Object
FormControlBehavior
ThemedFormBehavior
RadRibbonFormBehavior
Inherited Members
ThemedFormBehavior.GetMappedWindowPoint(Point)
ThemedFormBehavior.GetMaximumFormHeightAccordingToCurrentScreen()
ThemedFormBehavior.RefreshNC()
ThemedFormBehavior.InvalidateNC(Rectangle)
ThemedFormBehavior.OnNCPaint(Graphics)
ThemedFormBehavior.PaintElement(IGraphics, Rectangle, VisualElement)
ThemedFormBehavior.InvalidateElement(RadElement, Rectangle)
ThemedFormBehavior.IsMaximized
ThemedFormBehavior.IsMinimized
ThemedFormBehavior.IsNormal
ThemedFormBehavior.CurrentFormState
ThemedFormBehavior.IsMdiChildMaximized
ThemedFormBehavior.FormMdiClient
ThemedFormBehavior.IsMenuInForm
ThemedFormBehavior.MainMenuInForm
ThemedFormBehavior.MaximizedMDIChild
ThemedFormBehavior.TopResizeFrame
ThemedFormBehavior.TopLeftResizeFrame
ThemedFormBehavior.LeftResizeFrame
ThemedFormBehavior.BottomLeftResizeFrame
ThemedFormBehavior.BottomResizeFrame
ThemedFormBehavior.BottomRightResizeFrame
ThemedFormBehavior.RightResizeFrame
ThemedFormBehavior.TopRightResizeFrame
ThemedFormBehavior.CaptionFrame
ThemedFormBehavior.LeftBorderFrame
ThemedFormBehavior.BottomBorderFrame
ThemedFormBehavior.RightBorderFrame
ThemedFormBehavior.ClientFrame
ThemedFormBehavior.CurrentFormParams
ThemedFormBehavior.Form
FormControlBehavior.targetHandler
FormControlBehavior.CallBaseWndProc(Message)
FormControlBehavior.CallDefWndProc(Message)
FormControlBehavior.OnAssociatedFormPaint(PaintEventArgs)
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll

Syntax

public class RadRibbonFormBehavior : ThemedFormBehavior

Constructors

RadRibbonFormBehavior()

Creates an instance of the RadRibbonFormBehavior class.

Declaration
public RadRibbonFormBehavior()

RadRibbonFormBehavior(IComponentTreeHandler)

Creates an instance of the RadRibbonFormBehavior class. The IComponentTreeHandler implementation which this behavior is associated with.

Declaration
public RadRibbonFormBehavior(IComponentTreeHandler treeHandler)
Parameters
IComponentTreeHandler treeHandler

RadRibbonFormBehavior(IComponentTreeHandler, Boolean)

Creates an instance of the RadRibbonFormBehavior class.

Declaration
public RadRibbonFormBehavior(IComponentTreeHandler treeHandler, bool shouldHandleCreateChildItems)
Parameters
IComponentTreeHandler treeHandler

The associated IComponentTreeHandler implementation.

System.Boolean shouldHandleCreateChildItems

Determines whether the behavior handles the CreateChildItems call.

Properties

AllowTheming

Gets or sets value indicating whether the RadRibbonBar is drawn over the Aero glass under Vista or later versions of Windows.

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

Overrides
ThemedFormBehavior.AllowTheming

BorderWidth

Declaration
public override Padding BorderWidth { get; }
Property Value
System.Windows.Forms.Padding

Overrides
FormControlBehavior.BorderWidth

CaptionHeight

Returns a zero for the caption height.

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

Overrides
FormControlBehavior.CaptionHeight

CaptionTextBounds

Declaration
public override Rectangle CaptionTextBounds { get; }
Property Value
System.Drawing.Rectangle

Overrides
ThemedFormBehavior.CaptionTextBounds

ClientMargin

Declaration
public override Padding ClientMargin { get; }
Property Value
System.Windows.Forms.Padding

Overrides
FormControlBehavior.ClientMargin

CompositionEffectsEnabled

Gets a boolean value indicating whether composition effects are enabled for the form.

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

FormElement

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

Overrides
FormControlBehavior.FormElement

IconBounds

Declaration
public override Rectangle IconBounds { get; }
Property Value
System.Drawing.Rectangle

Overrides
ThemedFormBehavior.IconBounds

MenuBounds

Declaration
public override Rectangle MenuBounds { get; }
Property Value
System.Drawing.Rectangle

Overrides
ThemedFormBehavior.MenuBounds

RibbonBar

Declaration
protected virtual RadRibbonBar RibbonBar { get; }
Property Value
RadRibbonBar

SystemButtonsBounds

Declaration
public override Rectangle SystemButtonsBounds { get; }
Property Value
System.Drawing.Rectangle

Overrides
ThemedFormBehavior.SystemButtonsBounds

TopCompositionMargin

Gets an integer representing the top client margin of the form when composition is enabled.

Declaration
public int TopCompositionMargin { get; }
Property Value
System.Int32

Methods

AdjustFormIconVisibility()

Declaration
public void AdjustFormIconVisibility()

CreateChildItems(RadElement)

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

Overrides
FormControlBehavior.CreateChildItems(RadElement)

CreateParams(CreateParams)

Declaration
public override CreateParams CreateParams(CreateParams parameters)
Parameters
System.Windows.Forms.CreateParams parameters

Returns
System.Windows.Forms.CreateParams

Overrides
ThemedFormBehavior.CreateParams(CreateParams)

Dispose(Boolean)

Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean disposing

Overrides
ThemedFormBehavior.Dispose(Boolean)

FormHandleCreated()

Declaration
public override void FormHandleCreated()
Overrides
FormControlBehavior.FormHandleCreated()

HandleWndProc(ref Message)

Declaration
public override bool HandleWndProc(ref Message m)
Parameters
System.Windows.Forms.Message m

Returns
System.Boolean

Overrides
ThemedFormBehavior.HandleWndProc(ref Message)

NCFromClientCoordinates(Point)

This method translates a point which is in client coordinates to a point in NC coordinates. Used when the Form has captured the mouse and NC mouse events have to be processed.

Declaration
protected virtual Point NCFromClientCoordinates(Point clientCoordinates)
Parameters
System.Drawing.Point clientCoordinates

A point in client coordinates.

Returns
System.Drawing.Point

The point in NC coordinates.

OnActiveMDIChildTextChanged()

Declaration
protected override void OnActiveMDIChildTextChanged()
Overrides
ThemedFormBehavior.OnActiveMDIChildTextChanged()

OnAssociatedFormPaintBackground(PaintEventArgs)

Declaration
public override bool OnAssociatedFormPaintBackground(PaintEventArgs args)
Parameters
System.Windows.Forms.PaintEventArgs args

Returns
System.Boolean

Overrides
FormControlBehavior.OnAssociatedFormPaintBackground(PaintEventArgs)

OnFormAssociated()

Declaration
protected override void OnFormAssociated()
Overrides
ThemedFormBehavior.OnFormAssociated()

OnGetMinMaxInfo(MinMaxInfo)

Declaration
protected override void OnGetMinMaxInfo(MinMaxInfo minMaxInfo)
Parameters
MinMaxInfo minMaxInfo

Overrides
ThemedFormBehavior.OnGetMinMaxInfo(MinMaxInfo)

OnWindowStateChanged(Int32, Int32)

Declaration
protected override void OnWindowStateChanged(int currentFormState, int newFormState)
Parameters
System.Int32 currentFormState

System.Int32 newFormState

Overrides
ThemedFormBehavior.OnWindowStateChanged(Int32, Int32)

UpdateFormForThemingState(Boolean)

Declaration
protected virtual void UpdateFormForThemingState(bool showAero)
Parameters
System.Boolean showAero

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)

Was this article helpful?

Tell us how we can improve this article

Skip
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.