ClassHubTileService
HubTileService provides the ability to group hub tiles with a group tag and to freeze or unfreeze groups of hub tiles.
Definition
Namespace:Telerik.UI.Xaml.Controls.Primitives
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public static class HubTileService
Inheritance: objectHubTileService
Fields
GroupTagProperty
Identifies the GroupTag attached property.
Declaration
public static readonly DependencyProperty GroupTagProperty
Field Value
DependencyProperty
Methods
FreezeGroup(string)
Freezes a group of hub tiles.
Declaration
public static void FreezeGroup(string groupTag)
Parameters
groupTag
The groupTag which will be used when searching for hub tiles to freeze.
GetGroupTag(DependencyObject)
Gets the group tag of the provided hub tile.
Declaration
public static string GetGroupTag(DependencyObject hubTile)
Parameters
hubTile
DependencyObject
The hub tile to get the group tag from.
Returns
Returns the group tag of the provided hub tile.
Example
RadHubTile hubtile = new RadHubTile();
HubTileService.SetGroupTag(hubtile, "first");
var currentTag = HubTileService.GetGroupTag(hubtile);
SetGroupTag(DependencyObject, string)
Sets the group tag of the specified hub tile to the specified value.
Declaration
public static void SetGroupTag(DependencyObject hubTile, string value)
Parameters
hubTile
DependencyObject
The hub tile to set the group tag to.
value
The tile's new group tag.
Example
RadHubTile hubtile = new RadHubTile();
HubTileService.SetGroupTag(hubtile, "first");
UnfreezeGroup(string)
Unfreezes a group of hub tiles.
Declaration
public static void UnfreezeGroup(string groupTag)
Parameters
groupTag
The groupTag which will be used when searching for hub tiles to unfreeze.