Gets the Style object used to render the built-in navigation bar.
Namespace:
C1.Web.C1WebReportAssembly: C1.Web.C1WebReport.2 (in C1.Web.C1WebReport.2.dll)
Syntax
C# |
---|
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)] [NotifyParentPropertyAttribute(true)] public Style Style { get; } |
Visual Basic (Declaration) |
---|
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)> _ <NotifyParentPropertyAttribute(True)> _ Public ReadOnly Property Style As Style Get |
Remarks
You can use this property to customize the colors, font, and borders of the built-in NavigationBar.
If you don't modify the style, the navigation bar is rendered using the same color scheme as the owner control.
Examples
For example, the code below causes the bar to use the reverse color scheme of the owner C1WebReport control, giving the bar a 'negative' appearance:
Copy CodeVisual Basic
_c1wr.NavigationBar.Style.BackColor = _c1wr.ForeColor _c1wr.NavigationBar.Style.ForeColor = _c1wr.BackColor |
Copy CodeC#
_c1wr.NavigationBar.Style.BackColor = _c1wr.ForeColor; _c1wr.NavigationBar.Style.ForeColor = _c1wr.BackColor; |