Interface ILayouter
Specifies that this object implements layouting for NavigationView control.
Inherited Members
System.IDisposable.Dispose()
Namespace: Syncfusion.Windows.Forms.Tools.Navigation.Layouting
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public interface ILayouter : IDisposable
Properties
BarLayoutInfos
Gets the layout information for Bars.
Declaration
BarLayoutInfoCollection BarLayoutInfos { get; }
Property Value
Type |
---|
BarLayoutInfoCollection |
BorderBounds
Gets the border's bounds.
Declaration
Rectangle BorderBounds { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
RootLayoutBar
Gets Bar of current layout.
Declaration
Bar RootLayoutBar { get; }
Property Value
Type |
---|
Bar |
TextFormat
Gets the string format used in layouting.
Declaration
TextFormatFlags TextFormat { get; }
Property Value
Type |
---|
System.Windows.Forms.TextFormatFlags |
Methods
GetLayout(HitTestAreas)
Gets the Layouting information for the specifies area of NavigationView control.
Declaration
LayoutInfo GetLayout(HitTestAreas area)
Parameters
Type | Name | Description |
---|---|---|
HitTestAreas | area | The area. |
Returns
Type | Description |
---|---|
LayoutInfo | Layouting information of the area. |
HitTest(Point)
Performs hits test.
Declaration
LayoutInfo HitTest(Point point)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | point | Tested hit point. |
Returns
Type | Description |
---|---|
LayoutInfo | Layouting info of hit test area. |
MeasureText(NavigationView, Graphics, String)
Measures the text used in NavigationView.
Declaration
Size MeasureText(NavigationView navView, Graphics g, string text)
Parameters
Type | Name | Description |
---|---|---|
NavigationView | navView | The NavigationView control. |
System.Drawing.Graphics | g | Graphics to measure at. |
System.String | text | The text to be measured. |
Returns
Type | Description |
---|---|
System.Drawing.Size | Size of measured text. |
UpdateLayout(NavigationView)
Updates the layout of NavigationView control according to its state.
Declaration
void UpdateLayout(NavigationView navView)
Parameters
Type | Name | Description |
---|---|---|
NavigationView | navView | The NavigationView control. |