Class NavigationViewVisualStyle
Represents the class to define the style for NavigationView control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class NavigationViewVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
NavigationViewVisualStyle()
Initializes a new instance of the NavigationViewVisualStyle class.
Declaration
public NavigationViewVisualStyle()
NavigationViewVisualStyle(NavigationViewVisualStyleInfoIdentity)
Initializes a new instance of the NavigationViewVisualStyle class.
Declaration
public NavigationViewVisualStyle(NavigationViewVisualStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
NavigationViewVisualStyleInfoIdentity | identity | A |
NavigationViewVisualStyle(NavigationViewVisualStyleInfoIdentity, NavigationViewVisualStyleInfoStore)
Initializes a new instance of the NavigationViewVisualStyle class.
Declaration
public NavigationViewVisualStyle(NavigationViewVisualStyleInfoIdentity identity, NavigationViewVisualStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
NavigationViewVisualStyleInfoIdentity | identity | A |
NavigationViewVisualStyleInfoStore | store | Holds instance of a NavigationViewVisualStyleInfoStore class |
NavigationViewVisualStyle(NavigationViewVisualStyleInfoStore)
Initializes a new instance of the NavigationViewVisualStyle class.
Declaration
public NavigationViewVisualStyle(NavigationViewVisualStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
NavigationViewVisualStyleInfoStore | store | Holds instance of a NavigationViewVisualStyleInfoStore class. |
Properties
BackColor
Declaration
[ThemeStudio]
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DefaultStyle
Gets the default style value of NavigationViewVisualStyle in NavigationView.
Declaration
public static NavigationViewVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
NavigationViewVisualStyle |
DropDownStyle
Gets or sets a value that indicates style values for the drop-down of NavigationView.
Declaration
[ThemeStudio]
public NavigationDropDownStyleInfo DropDownStyle { get; set; }
Property Value
Type |
---|
NavigationDropDownStyleInfo |
Font
Gets or sets the System.Drawing.Font value of NavigationView.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
NavigationBarStyle
Gets or sets a value that indicates style values for the navigation bar of NavigationView.
Declaration
[ThemeStudio]
public NavigationBarStyleInfo NavigationBarStyle { get; set; }
Property Value
Type |
---|
NavigationBarStyleInfo |
TextBoxStyle
Gets or sets a value that indicates style values for the textbox of NavigationView.
Declaration
[ThemeStudio]
public NavigationTextBoxStyleInfo TextBoxStyle { get; set; }
Property Value
Type |
---|
NavigationTextBoxStyleInfo |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Overridden to create a product-specific identity object for the sub object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | StyleInfoProperty descriptor for this sub object. |
Returns
Type | Description |
---|---|
StyleInfoSubObjectIdentity | Identity for the sub object. |
Overrides
GetDefaultStyle()
Gets the default style value of the NavigationViewVisualStyle class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |