Tile
Visually represents an item in a RadTileList control.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
[TelerikToolboxCategory("Navigation")]
public class Tile : ContentControl
Inheritance: objectTile
Constructors
Fields
CommandParameterProperty
DependencyProperty
Identifies the CommandParameter dependency property.
public static readonly DependencyProperty CommandParameterProperty
CommandProperty
DependencyProperty
Identifies the Command dependency property.
public static readonly DependencyProperty CommandProperty
CommandTargetProperty
DependencyProperty
Identifies the CommandTarget dependency property.
public static readonly DependencyProperty CommandTargetProperty
IsSelectedProperty
DependencyProperty
Identifies the IsSelected dependency property.
public static readonly DependencyProperty IsSelectedProperty
TileTypeProperty
DependencyProperty
Identifies the TileTypeProperty property.
public static readonly DependencyProperty TileTypeProperty
Properties
Gets or sets the command for a Tile.
public ICommand Command { get; set; }
The command.
Gets or sets the command parameter of the Tile.
public object CommandParameter { get; set; }
The command parameter.
CommandTarget
IInputElement
Gets or sets the command target of the Tile when using routed command.
public IInputElement CommandTarget { get; set; }
The command target.
Gets or sets the display index.
public int? DisplayIndex { get; set; }
Fetches the value of the IsEnabled property.
protected override bool IsEnabledCore { get; }
The reason this property is overridden is so that the Tile can infuse the value for CanExecute into it.
Gets or sets a value that indicates whether a Tile is selected. This is a dependency property.
public bool IsSelected { get; set; }
Methods
Changes the visual state.
protected virtual void ChangeVisualState(bool useTransitions)
If set to true [use transitions].
public override void OnApplyTemplate()
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Called when selection is changed.
protected virtual void OnIsSelectedChanged()
protected override void OnMouseEnter(MouseEventArgs e)
protected override void OnMouseLeave(MouseEventArgs e)
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
protected override void OnMouseRightButtonUp(MouseButtonEventArgs e)