Class RadRibbonFormBehavior
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadRibbonFormBehavior : ThemedFormBehavior
Constructors
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
BorderWidth
Declaration
public override Padding BorderWidth { get; }
Property Value
System.Windows.Forms.Padding
|
Overrides
CaptionHeight
Returns a zero for the caption height.
Declaration
public override int CaptionHeight { get; }
Property Value
System.Int32
|
Overrides
CaptionTextBounds
Declaration
public override Rectangle CaptionTextBounds { get; }
Property Value
System.Drawing.Rectangle
|
Overrides
ClientMargin
Declaration
public override Padding ClientMargin { get; }
Property Value
System.Windows.Forms.Padding
|
Overrides
CompositionEffectsEnabled
Gets a boolean value indicating whether composition effects are enabled for the form.
Declaration
public bool CompositionEffectsEnabled { get; }
Property Value
System.Boolean
|
FormElement
IconBounds
Declaration
public override Rectangle IconBounds { get; }
Property Value
System.Drawing.Rectangle
|
Overrides
MenuBounds
Declaration
public override Rectangle MenuBounds { get; }
Property Value
System.Drawing.Rectangle
|
Overrides
RibbonBar
SystemButtonsBounds
Declaration
public override Rectangle SystemButtonsBounds { get; }
Property Value
System.Drawing.Rectangle
|
Overrides
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
CreateParams(CreateParams)
Declaration
public override CreateParams CreateParams(CreateParams parameters)
Parameters
System.Windows.Forms.CreateParams
parameters
|
Returns
System.Windows.Forms.CreateParams
|
Overrides
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
|
Overrides
FormHandleCreated()
Declaration
public override void FormHandleCreated()
Overrides
HandleWndProc(ref Message)
Declaration
public override bool HandleWndProc(ref Message m)
Parameters
System.Windows.Forms.Message
m
|
Returns
System.Boolean
|
Overrides
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
OnAssociatedFormPaintBackground(PaintEventArgs)
Declaration
public override bool OnAssociatedFormPaintBackground(PaintEventArgs args)
Parameters
System.Windows.Forms.PaintEventArgs
args
|
Returns
System.Boolean
|
Overrides
OnFormAssociated()
Declaration
protected override void OnFormAssociated()
Overrides
OnGetMinMaxInfo(MinMaxInfo)
Declaration
protected override void OnGetMinMaxInfo(MinMaxInfo minMaxInfo)
Parameters
MinMaxInfo
minMaxInfo
|
Overrides
OnWindowStateChanged(Int32, Int32)
Declaration
protected override void OnWindowStateChanged(int currentFormState, int newFormState)
Parameters
System.Int32
currentFormState
|
System.Int32
newFormState
|
Overrides
UpdateFormForThemingState(Boolean)
Declaration
protected virtual void UpdateFormForThemingState(bool showAero)
Parameters
System.Boolean
showAero
|