Name |
Type |
Default value |
Description |
---|
Classes |
BitNavPanelClassStyles? |
null |
Custom CSS classes for different parts of the nav panel. |
EmptyListTemplate |
RenderFragment? |
null |
The custom template for when the search result is empty. |
EmptyListMessage |
string? |
null |
The custom message for when the search result is empty. |
Footer |
RenderFragment? |
null |
The custom template to render as the footer of the nav panel. |
Header |
RenderFragment? |
null |
The custom template to render as the header of the nav panel. |
IconUrl |
string? |
null |
The icon url to show in the header of the nav panel. |
IsOpen |
bool |
false |
Determines if the nav panel is open in small screens. |
IsToggled |
bool |
false |
Determines if the nav panel is in the toggled state. |
Items |
IList<TItem> |
[] |
A collection of items to display in the nav panel. |
NavClasses |
BitNavClassStyles? |
null |
Custom CSS classes for different parts of the nav component of the nav panel. |
NavStyles |
BitNavClassStyles? |
null |
Custom CSS styles for different parts of the nav component of the nav panel. |
NoPad |
bool |
false |
Disables the padded mode of the nav panel. |
NoToggle |
bool |
false |
Disables the toggle feature of the nav panel. |
OnItemClick |
EventCallback<TItem> |
|
Event fired up when an item is clicked. |
SearchBoxClasses |
BitSearchBoxClassStyles? |
null |
Custom CSS classes for different parts of the search box of the nav panel. |
SearchBoxPlaceholder |
string? |
null |
The placeholder of the input element of the search box of the nav panel. |
SearchBoxStyles |
BitSearchBoxClassStyles? |
null |
Custom CSS styles for different parts of the search box of the nav panel. |
Styles |
BitNavPanelClassStyles? |
null |
Custom CSS styles for different parts of the nav panel. |
Top |
int |
0 |
The top CSS property value of the root element of the nav panel in px. |
Name |
Type |
Default value |
Description |
---|
AriaLabel |
string? |
null |
The aria-label of the control for the benefit of screen readers. |
Class |
string? |
null |
Custom CSS class for the root element of the component. |
Dir |
BitDir? |
null |
Determines the component direction. |
HtmlAttributes |
Dictionary<string, object> |
new Dictionary<string, object>() |
Capture and render additional attributes in addition to the component's parameters. |
Id |
string? |
null |
Custom id attribute for the root element. if null the UniqueId will be used instead. |
IsEnabled |
bool |
true |
Whether or not the component is enabled. |
Style |
string? |
null |
Custom CSS style for the root element of the component. |
Visibility |
BitVisibility |
BitVisibility.Visible |
Whether the component is visible, hidden or collapsed. |