Skip to content

Commit 509ebda

Browse files
dimodiDimo Dimov
andauthored
docs: Rename IsSeparator to Separator (#626)
* docs: Rename IsSeparator to Separator * Rename IsSeparator 2 Co-authored-by: Dimo Dimov <[email protected]>
1 parent 3a83ca3 commit 509ebda

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

components/drawer/data-bind.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The drawer items provide the following features that you control through the cor
2828
* `Text` - the text that will be shown on the item.
2929
* `ImageUrl` / `Icon` / `IconClass` - the URL to a raster image, the [Telerik icon]({%slug general-information/font-icons%}), or a class for a custom font icon that will be rendered in the item. They have the listed order of precedence in case more than one is present in the data (that is, an `ImageUrl` will have the highest importance).
3030
* `Url` - the view the item will navigate to by generating a link.
31-
* `IsSeparator` - whether the item will be a separator line instead of a clickable item.
31+
* `Separator` - whether the item will be a separator line instead of a clickable item. (`IsSeparator` is deprecated and [will be removed in version 3.0]({%slug changes-in-3-0-0%}).)
3232

3333
## Data Bindings
3434

@@ -40,7 +40,7 @@ The properties of a drawer item match directly to a field of the model the drawe
4040
* IconField => Icon
4141
* ImageUrlField => ImageUrl
4242
* UrlField => Url
43-
* IsSeparatorField => IsSeparator
43+
* SeparatorField => Separator (`IsSeparatorField` is deprecated and [will be removed in version 3.0]({%slug changes-in-3-0-0%}).)
4444

4545

4646
>tip There are default values for the field names. If your model names match the defaults, you don't have to define them in the bindings settings.
@@ -55,7 +55,7 @@ public class DrawerItem
5555
public string Text { get; set; }
5656
public string Icon { get; set; }
5757
public string Url { get; set; }
58-
public bool IsSeparator { get;set; }
58+
public bool Separator { get;set; }
5959
}
6060
````
6161

components/drawer/navigation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ To use the Drawer for navigating between pages:
4343
new List<DrawerItem>
4444
{
4545
new DrawerItem { Text = "Home", Url = "/", Icon = "home" },
46-
new DrawerItem { IsSeparator = true },
46+
new DrawerItem { Separator = true },
4747
new DrawerItem { Text = "Counter", Url = "counter", Icon = "plus-outline" },
4848
new DrawerItem { Text = "FetchData", Url = "fetchdata", Icon = "grid" }
4949
};
@@ -53,7 +53,7 @@ To use the Drawer for navigating between pages:
5353
public string Text { get; set; }
5454
public string Url { get; set; }
5555
public string Icon { get; set; }
56-
public bool IsSeparator { get; set; }
56+
public bool Separator { get; set; }
5757
}
5858
}
5959
````

0 commit comments

Comments
 (0)