Blazorise Property Grid API
Explore the Blazorise Property Grid API reference for parameters, events, methods, and related types.
For examples and usage guidance, see the Property Grid documentation.
API
Parameters
PropertyGrid
| Parameter | Description | Type | Default |
|---|---|---|---|
AriaLabel |
Defines the accessible property grid label. |
string | "Properties" |
ChildContent |
Specifies the property groups to be rendered inside this PropertyGrid. |
RenderFragment | null |
Help |
Specifies content rendered below the scrollable property viewport. |
RenderFragment | null |
Toolbar |
Specifies content rendered above the scrollable property viewport. |
RenderFragment | null |
PropertyGridView
| Parameter | Description | Type | Default |
|---|---|---|---|
ActionTemplate |
Defines an action template. |
RenderFragment<PropertyGridActionContext> | null |
AlphabeticalButtonIcon |
Gets or sets the alphabetical button icon. |
IconName | IconName.SortAlphaDown |
AlphabeticalButtonTemplate |
Defines the alphabetical view button template. |
RenderFragment<PropertyGridViewModeContext> | null |
AlphabeticalButtonTitle |
Gets or sets the alphabetical button title. |
string | "Alphabetical" |
AriaLabel |
Gets or sets the accessible property grid label. |
string | "Properties" |
BooleanEditorTemplate |
Defines a boolean editor template. |
RenderFragment<PropertyGridEditorContext> | null |
CategorizedButtonIcon |
Gets or sets the categorized button icon. |
IconName | IconName.List |
CategorizedButtonTemplate |
Defines the categorized view button template. |
RenderFragment<PropertyGridViewModeContext> | null |
CategorizedButtonTitle |
Gets or sets the categorized button title. |
string | "Categorized" |
ChildContent |
Defines content rendered after all schema groups. |
RenderFragment | null |
ColorEditorTemplate |
Defines a color editor template. |
RenderFragment<PropertyGridEditorContext> | null |
EmptyTemplate |
Defines content rendered when the schema and child content are empty. |
RenderFragment | null |
GroupHeaderTemplate |
Defines a group header template. |
RenderFragment<PropertyGridGroupContext> | null |
GroupTemplate |
Defines a complete group template. |
RenderFragment<PropertyGridGroupContext> | null |
HelpTemplate |
Defines the selected property help template. |
RenderFragment<PropertyGridHelpContext> | null |
ItemTemplate |
Defines a complete property item template. |
RenderFragment<PropertyGridItemContext> | null |
LabelTemplate |
Defines a property label template. |
RenderFragment<PropertyGridLabelContext> | null |
NoResultsTemplate |
Defines content rendered when no properties match the current search. |
RenderFragment | null |
NoResultsText |
Defines the text rendered when no properties match the current search. |
string | "No properties found." |
NumericEditorTemplate |
Defines a numeric editor template. |
RenderFragment<PropertyGridEditorContext> | null |
Schema |
Gets or sets the schema rendered by the property grid. |
PropertyGridSchema | null |
SearchAriaLabel |
Gets or sets the accessible property search label. |
string | "Search properties" |
SearchDebounce |
Gets or sets whether property search changes are debounced. |
bool | true |
SearchDebounceInterval |
Gets or sets the property search debounce interval in milliseconds. |
int | 300 |
SearchPlaceholder |
Gets or sets the property search placeholder. |
string | "Search" |
SearchTemplate |
Defines the property search template. |
RenderFragment<PropertyGridSearchContext> | null |
SearchText |
Gets or sets the property search text. |
string | |
SelectEditorTemplate |
Defines a select editor template. |
RenderFragment<PropertyGridEditorContext> | null |
SelectedProperty |
Gets or sets the selected property. |
PropertyGridProperty | null |
ShowHelp |
Gets or sets whether help for the selected property is shown. |
bool | true |
ShowSearch |
Gets or sets whether the property search editor is shown. |
bool | true |
ShowToolbar |
Gets or sets whether the property grid toolbar is shown. |
bool | true |
ShowViewModeButtons |
Gets or sets whether the categorized and alphabetical view buttons are shown. |
bool | true |
TextEditorTemplate |
Defines a text editor template. |
RenderFragment<PropertyGridEditorContext> | null |
ToolbarAriaLabel |
Gets or sets the accessible property grid toolbar label. |
string | "Property grid controls" |
ToolbarTemplate |
Defines the complete toolbar template. |
RenderFragment<PropertyGridToolbarContext> | null |
ViewMode |
Gets or sets how properties are arranged. Possible values: |
PropertyGridViewMode | PropertyGridViewMode.Categorized |
Events
PropertyGridView
| Event | Description | Type |
|---|---|---|
ActionInvoked |
Occurs after a property action is invoked. |
EventCallback<PropertyGridActionEventArgs> |
GroupExpandedChanged |
Occurs after a property group expansion state changes. |
EventCallback<PropertyGridGroupExpandedEventArgs> |
PropertyValueChanged |
Occurs after a property value changes. |
EventCallback<PropertyGridValueChangedEventArgs> |
SearchTextChanged |
Occurs after the property search text changes. |
EventCallback<string> |
SelectedPropertyChanged |
Occurs after the selected property changes. |
EventCallback<PropertyGridProperty> |
ViewModeChanged |
Occurs after the property arrangement changes. |
EventCallback<PropertyGridViewMode> |