Skip to content

Commit 3000e3e

Browse files
svdimitrjivanova
authored andcommitted
docs(icons): chunk
1 parent 4eec17f commit 3000e3e

File tree

22 files changed

+169
-169
lines changed

22 files changed

+169
-169
lines changed

_contentTemplates/treeview/basic-example.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Sample treeview bound to self-referencing flat data. Also uses the built-in icon
3939
Text = "Project",
4040
ParentIdValue = null,
4141
HasChildren = true,
42-
Icon = "folder"
42+
Icon = FontIcon.Folder
4343
});
4444
4545
items.Add(new TreeItem()
@@ -48,15 +48,15 @@ Sample treeview bound to self-referencing flat data. Also uses the built-in icon
4848
Text = "Design",
4949
ParentIdValue = 1,
5050
HasChildren = true,
51-
Icon = "brush"
51+
Icon = FontIcon.Brush
5252
});
5353
items.Add(new TreeItem()
5454
{
5555
Id = 3,
5656
Text = "Implementation",
5757
ParentIdValue = 1,
5858
HasChildren = true,
59-
Icon = "folder"
59+
Icon = FontIcon.Folder
6060
});
6161
6262
items.Add(new TreeItem()
@@ -65,7 +65,7 @@ Sample treeview bound to self-referencing flat data. Also uses the built-in icon
6565
Text = "site.psd",
6666
ParentIdValue = 2,
6767
HasChildren = false,
68-
Icon = "psd"
68+
Icon = FontIcon.FilePsd
6969
});
7070
items.Add(new TreeItem()
7171
{
@@ -81,15 +81,15 @@ Sample treeview bound to self-referencing flat data. Also uses the built-in icon
8181
Text = "index.html",
8282
ParentIdValue = 3,
8383
HasChildren = false,
84-
Icon = "html"
84+
Icon = FontIcon.Html5
8585
});
8686
items.Add(new TreeItem()
8787
{
8888
Id = 7,
8989
Text = "styles.css",
9090
ParentIdValue = 3,
9191
HasChildren = false,
92-
Icon = "css"
92+
Icon = FontIcon.Css
9393
});
9494
9595
FlatData = items;

components/contextmenu/events.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,30 +55,30 @@ You can use the `OnClick` event to react to user choices, for example load new c
5555
new MenuItem()
5656
{
5757
Text = "Share",
58-
Icon = "share",
58+
Icon = FontIcon.Share,
5959
Items = new List<MenuItem>()
6060
{
6161
new MenuItem()
6262
{
6363
Text = "FaceBook",
64-
Icon = "facebook"
64+
Icon = FontIcon.Facebook
6565
},
6666
new MenuItem()
6767
{
6868
Text = "LinkedIn",
69-
Icon = "linkedin"
69+
Icon = FontIcon.Linkedin
7070
},
7171
new MenuItem()
7272
{
7373
Text = "Twitter",
74-
Icon = "twitter"
74+
Icon = FontIcon.Twitter
7575
},
7676
}
7777
},
7878
new MenuItem()
7979
{
8080
Text = "Map Location",
81-
Icon = "marker-pin"
81+
Icon = FontIcon.MapMarker
8282
}
8383
};
8484

components/contextmenu/navigation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ To use the Context Menu for navigating between pages:
5353
{
5454
Text = "Settings",
5555
Url = "/settings",
56-
Icon = "gear",
56+
Icon = FontIcon.Gear,
5757
Items = new List<MenuModel>()
5858
{
5959
new MenuModel()
6060
{
6161
Text = "Profile Settings",
6262
Url = "/profile",
63-
Icon = "user"
63+
Icon = FontIcon.User
6464
},
6565
new MenuModel()
6666
{

components/drawer/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ This template receives a `context` argument that is of the data model type and r
5858
new DrawerItem {Text = "Shopping Cart", Icon = "cart", Description = "Items in shopping cart"},
5959
new DrawerItem {Text = "Notifications", Icon = "notification", Description = "My profile notifications"},
6060
new DrawerItem {Text = "Calendar", Icon = "calendar", Description = "My events"},
61-
new DrawerItem {Text = "Settings", Icon = "gear", Description = "My profile settings"},
61+
new DrawerItem {Text = "Settings", Icon = FontIcon.Gear, Description = "My profile settings"},
6262
};
6363
6464
public class DrawerItem

components/editor/toolbar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ When adding a built-in tool to the collection, you can set various parameters to
200200
{
201201
Title = "My Custom Underline Title",
202202
Class = "special-underine",
203-
Icon = "gear",
203+
Icon = FontIcon.Gear,
204204
}
205205
);
206206
MyTools.Add(firstGroup);

components/filter/integration.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ This article contains the following sections:
268268
Text = "Project",
269269
ParentIdValue = null,
270270
HasChildren = true,
271-
Icon = "folder"
271+
Icon = FontIcon.Folder
272272
});
273273
274274
items.Add(new TreeItem()
@@ -277,15 +277,15 @@ This article contains the following sections:
277277
Text = "Design",
278278
ParentIdValue = 1,
279279
HasChildren = true,
280-
Icon = "brush"
280+
Icon = FontIcon.Brush
281281
});
282282
items.Add(new TreeItem()
283283
{
284284
Id = 3,
285285
Text = "Implementation",
286286
ParentIdValue = 1,
287287
HasChildren = true,
288-
Icon = "folder"
288+
Icon = FontIcon.Folder
289289
});
290290
291291
items.Add(new TreeItem()
@@ -294,7 +294,7 @@ This article contains the following sections:
294294
Text = "site.psd",
295295
ParentIdValue = 2,
296296
HasChildren = false,
297-
Icon = "psd"
297+
Icon = FontIcon.FilePsd
298298
});
299299
items.Add(new TreeItem()
300300
{
@@ -310,15 +310,15 @@ This article contains the following sections:
310310
Text = "index.html",
311311
ParentIdValue = 3,
312312
HasChildren = false,
313-
Icon = "html"
313+
Icon = FontIcon.Html5
314314
});
315315
items.Add(new TreeItem()
316316
{
317317
Id = 7,
318318
Text = "styles.css",
319319
ParentIdValue = 3,
320320
HasChildren = false,
321-
Icon = "css"
321+
Icon = FontIcon.Css
322322
});
323323
324324
InitialData = items;

components/menu/events.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,30 +52,30 @@ Last clicked item: @ClickedItem?.Text
5252
new MenuItem()
5353
{
5454
Text = "Share",
55-
Icon = "share",
55+
Icon = FontIcon.Share,
5656
Items = new List<MenuItem>()
5757
{
5858
new MenuItem()
5959
{
6060
Text = "FaceBook",
61-
Icon = "facebook"
61+
Icon = FontIcon.Facebook
6262
},
6363
new MenuItem()
6464
{
6565
Text = "LinkedIn",
66-
Icon = "linkedin"
66+
Icon = FontIcon.Linkedin
6767
},
6868
new MenuItem()
6969
{
7070
Text = "Twitter",
71-
Icon = "twitter"
71+
Icon = FontIcon.Twitter
7272
},
7373
}
7474
},
7575
new MenuItem()
7676
{
7777
Text = "Map Location",
78-
Icon = "marker-pin"
78+
Icon = FontIcon.MapMarker
7979
}
8080
};
8181

components/menu/navigation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ To use the Menu for navigating between pages:
4949
{
5050
Text = "Settings",
5151
Url = "/settings",
52-
Icon = "gear",
52+
Icon = FontIcon.Gear,
5353
Items = new List<MenuModel>()
5454
{
5555
new MenuModel()
5656
{
5757
Text = "Profile Settings",
5858
Url = "/profile",
59-
Icon = "user"
59+
Icon = FontIcon.User
6060
},
6161
new MenuModel()
6262
{

components/menu/orientation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,33 +51,33 @@ The default orientation is horizontal.
5151
new MenuItem()
5252
{
5353
Text = "Share",
54-
Icon = "share",
54+
Icon = FontIcon.Share,
5555
Items = new List<MenuItem>()
5656
{
5757
new MenuItem()
5858
{
5959
Text = "FaceBook",
60-
Icon = "facebook",
60+
Icon = FontIcon.Facebook,
6161
Url = "https://facebook.com"
6262
},
6363
new MenuItem()
6464
{
6565
Text = "LinkedIn",
66-
Icon = "linkedin",
66+
Icon = FontIcon.Linkedin,
6767
Url = "https://linkedin.com"
6868
},
6969
new MenuItem()
7070
{
7171
Text = "Twitter",
72-
Icon = "twitter",
72+
Icon = FontIcon.Twitter,
7373
Url = "https://twitter.com"
7474
},
7575
}
7676
},
7777
new MenuItem()
7878
{
7979
Text = "Map Location",
80-
Icon = "marker-pin",
80+
Icon = FontIcon.MapMarker,
8181
Url = "https://maps.google.com"
8282
}
8383
};

components/notification/open-close-hide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ You can pass the entire [NotificationModel]({%slug notification-overview%}#notif
7373
Text = "My Notification",
7474
ThemeColor = "success",
7575
ShowIcon = true,
76-
Icon = "star",
76+
Icon = FontIcon.Star,
7777
Closable = false
7878
});
7979
}
@@ -118,7 +118,7 @@ You can also let the user dismiss a notification message before that timer elaps
118118
ThemeColor = "success",
119119
Closable = false,
120120
CloseAfter = 2000,
121-
Icon = "star"
121+
Icon = FontIcon.Star
122122
});
123123
}
124124
}
@@ -148,7 +148,7 @@ You can prevent the notification from closing automatically and let the user clo
148148
ThemeColor = "success",
149149
Closable = true,
150150
CloseAfter = 0,
151-
Icon = "star"
151+
Icon = FontIcon.Star
152152
});
153153
}
154154
}

0 commit comments

Comments
 (0)