Class
HubTileService

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:

cs-api-definition
public static class HubTileService

Inheritance: objectHubTileService

Fields

GroupTagProperty

Identifies the GroupTag attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty GroupTagProperty

Field Value

DependencyProperty

Methods

FreezeGroup(string)

Freezes a group of hub tiles.

Declaration

cs-api-definition
public static void FreezeGroup(string groupTag)

Parameters

groupTag

string

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

cs-api-definition
public static string GetGroupTag(DependencyObject hubTile)

Parameters

hubTile

DependencyObject

The hub tile to get the group tag from.

Returns

string

Returns the group tag of the provided hub tile.

Example

c
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

cs-api-definition
public static void SetGroupTag(DependencyObject hubTile, string value)

Parameters

hubTile

DependencyObject

The hub tile to set the group tag to.

value

string

The tile's new group tag.

Example

c
RadHubTile hubtile = new RadHubTile();
HubTileService.SetGroupTag(hubtile, "first");

UnfreezeGroup(string)

Unfreezes a group of hub tiles.

Declaration

cs-api-definition
public static void UnfreezeGroup(string groupTag)

Parameters

groupTag

string

The groupTag which will be used when searching for hub tiles to unfreeze.