Telerik UI for Windows Phone by Progress

This topic demonstrates how to use the Command and CommandParameter properties of every hub tile.

Using Commands

RadHubTile supports the Command pattern in Silverlight with the Command and CommandParameter properties. When the Command property is set to an object that implements ICommand, tapping on a hub tile will execute the command with the value of CommandParameter. Example:

<telerikPrimitives:RadHubTile CommandParameter="The parameter!">
public class MyCommand : ICommand
    public bool CanExecute(object parameter)
        return parameter is string;

    public void Execute(object parameter)