Class SingleLineBarRenderer
Implements
System.IDisposable
System.Windows.Forms.IMessageFilter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class SingleLineBarRenderer : BarRenderer, IBarRenderer, IPopupChild, INeedKeyboardMessages, INeedMouseMoveMessages, IPopupParent, IPopupItem, IDndTrackingControl, IMouseHookHLProcClient, IKeyboardProcHookClient, IDisposable, IMessageFilter
Constructors
SingleLineBarRenderer(IBarControl)
Declaration
public SingleLineBarRenderer(IBarControl parent)
Parameters
Type | Name | Description |
---|---|---|
IBarControl | parent |
Fields
lastKnownPreferredSize
Declaration
protected SizeF lastKnownPreferredSize
Field Value
Type |
---|
System.Drawing.SizeF |
Methods
AfterComputeBarItemPositions(IGraphicsProvider)
Declaration
public virtual void AfterComputeBarItemPositions(IGraphicsProvider gp)
Parameters
Type | Name | Description |
---|---|---|
IGraphicsProvider | gp |
ComputeBarItemPositions(IGraphicsProvider)
Declaration
public override void ComputeBarItemPositions(IGraphicsProvider gp)
Parameters
Type | Name | Description |
---|---|---|
IGraphicsProvider | gp |
Overrides
CorrectDisplayBounds(RectangleF)
Declaration
protected virtual RectangleF CorrectDisplayBounds(RectangleF bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.RectangleF | bounds | BarControl's bounds for specified renderer. |
Returns
Type | Description |
---|---|
System.Drawing.RectangleF | Changed client bounds according to specified renderer. |
GetPreferredSize(IGraphicsProvider)
Declaration
protected SizeF GetPreferredSize(IGraphicsProvider gp)
Parameters
Type | Name | Description |
---|---|---|
IGraphicsProvider | gp |
Returns
Type |
---|
System.Drawing.SizeF |
GetPreferredSize(IGraphicsProvider, ref SizeF)
Declaration
public override void GetPreferredSize(IGraphicsProvider gp, ref SizeF preferredSize)
Parameters
Type | Name | Description |
---|---|---|
IGraphicsProvider | gp | |
System.Drawing.SizeF | preferredSize |
Overrides
OnBoundsAffected()
Declaration
protected override void OnBoundsAffected()
Overrides
Implements
System.IDisposable
System.Windows.Forms.IMessageFilter