Skip to content

Commit ccc4c96

Browse files
authored
docs(window,dialog): Document ThemeColor parameter (#1325)
1 parent 391ba3b commit ccc4c96

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

components/dialog/overview.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,16 @@ The Blazor Dialog provides various parameters to configure the component. Also c
7373

7474
| Parameter | Type and Default Value | Description |
7575
| --- | --- | --- |
76-
| `ButtonsLayout` | `DialogButtonsLayout` enum <br /> (`Stretch`) | Defines the layout of the actions button in the footer. See more in the [Action Buttons article]({%slug dialog-action-buttons%})). |
77-
| `Class` | `string` | Renders a custom CSS class to the `<div class="k-window k-dialog">` element. |
76+
| `ButtonsLayout` | `DialogButtonsLayout` enum <br /> (`Stretch`) | The layout of the actions button in the footer. See more in the [Action Buttons article]({%slug dialog-action-buttons%})). |
77+
| `Class` | `string` | A custom CSS class to the `<div class="k-window k-dialog">` element. |
7878
| `CloseOnOverlayClick` | `bool` | Defines if clicking on the modal overlay should close the Dialog. |
79-
| `FocusedElementSelector` | `string` | Defines the CSS selector of the initially focused item on open. By default, it is the first focusable item in the dialog. |
80-
| `Height` | `string` | Sets the height of the Dialog in any [supported CSS unit]({%slug common-features/dimensions%}). |
79+
| `FocusedElementSelector` | `string` | The CSS selector of the initially focused item on open. By default, it is the first focusable item in the Dialog. |
80+
| `Height` | `string` | The height of the Dialog in any [supported CSS unit]({%slug common-features/dimensions%}). |
8181
| `ShowCloseButton` | `bool` <br /> (`true`) | Defines if the component will render a Close button in the titlebar. See more in the [Header article]({%slug dialog-header%}). |
82-
| `Title` | `string` | Sets the Dialog title. |
82+
| `ThemeColor` | `string` | A predefined color scheme for the Dialog, especially the titlebar. Use the available members of the static class [`ThemeConstants.Dialog.ThemeColor`](/blazor-ui/api/Telerik.Blazor.ThemeConstants.Dialog.ThemeColor). |
83+
| `Title` | `string` | The Dialog title. |
8384
| `Visible` | `bool` | Defines the Dialog visibility. |
84-
| `Width` | `string` | Sets the width of the Dialog in any [supported CSS unit]({%slug common-features/dimensions%}). |
85+
| `Width` | `string` | The width of the Dialog in any [supported CSS unit]({%slug common-features/dimensions%}). |
8586

8687

8788
## Dialog Reference and Methods

components/window/overview.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@ The following table lists the Window parameters, which are not discussed elsewhe
7474

7575
| Parameter | Type and Default&nbsp;Value | Description |
7676
| --- | --- | --- |
77-
| `Class` | `string` | Renders a custom CSS class to the `<div class="k-window">` element. Use it to [override theme styles]({%slug themes-override%}). Here is a [custom Window styling example]({%slug window-kb-custom-css-styling%}). |
78-
| `Size` | `string` | Sets a predefined Window **width**. Use the string members of the static class `ThemeConstants.Window.Size` - `Small`, `Medium`, and `Large`. They translate to widths of `300px`, `800px` and `1200px`, respectively. If set, the `Width` parameter will take precedence over `Size`. |
77+
| `Class` | `string` | The custom CSS class of the `<div class="k-window">` element. Use it to [override theme styles]({%slug themes-override%}). Here is a [custom Window styling example]({%slug window-kb-custom-css-styling%}). |
78+
| `Size` | `string` | A predefined Window **width**. Use the string members of the static class `ThemeConstants.Window.Size` - `Small`, `Medium`, and `Large`. They translate to widths of `300px`, `800px` and `1200px`, respectively. If set, the `Width` parameter will take precedence over `Size`. |
79+
| `ThemeColor` | `string` | A predefined color scheme for the Window, especially the titlebar. Use the available members of the static class [`ThemeConstants.Window.ThemeColor`](/blazor-ui/api/Telerik.Blazor.ThemeConstants.Window.ThemeColor). |
7980
| `Visible` | `bool` | Defines if the Window is rendered and visible on the page. |
8081

8182

0 commit comments

Comments
 (0)