ClassTile
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
Identifies the CommandParameter dependency property.
Declaration
public static readonly DependencyProperty CommandParameterProperty
Field Value
DependencyProperty
CommandProperty
Identifies the Command dependency property.
Declaration
public static readonly DependencyProperty CommandProperty
Field Value
DependencyProperty
CommandTargetProperty
Identifies the CommandTarget dependency property.
Declaration
public static readonly DependencyProperty CommandTargetProperty
Field Value
DependencyProperty
IsSelectedProperty
Identifies the IsSelected dependency property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
DependencyProperty
TileTypeProperty
Identifies the TileTypeProperty property.
Declaration
public static readonly DependencyProperty TileTypeProperty
Field Value
DependencyProperty
Properties
Command
Gets or sets the command for a Tile.
Declaration
public ICommand Command { get; set; }
Property Value
The command.
CommandParameter
Gets or sets the command parameter of the Tile.
Declaration
public object CommandParameter { get; set; }
Property Value
The command parameter.
CommandTarget
Gets or sets the command target of the Tile when using routed command.
Declaration
public IInputElement CommandTarget { get; set; }
Property Value
IInputElement
The command target.
DisplayIndex
Gets or sets the display index.
Group
Gets the Group the tile belongs to.
IsEnabledCore
Fetches the value of the IsEnabled property.
Declaration
protected override bool IsEnabledCore { get; }
Property Value
Remarks
The reason this property is overridden is so that the Tile can infuse the value for CanExecute into it.
IsSelected
Gets or sets a value that indicates whether a Tile is selected. This is a dependency property.
Methods
ChangeVisualState(bool)
Changes the visual state.
Declaration
protected virtual void ChangeVisualState(bool useTransitions)
Parameters
useTransitions
If set to true [use transitions].
GoToState(bool, params string[])
Updates the visual state.
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnIsSelectedChanged()
Called when selection is changed.
Declaration
protected virtual void OnIsSelectedChanged()
OnMouseEnter(MouseEventArgs)
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
e
MouseEventArgs
OnMouseLeave(MouseEventArgs)
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
e
MouseEventArgs
OnMouseLeftButtonUp(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
OnMouseRightButtonUp(MouseButtonEventArgs)
Declaration
protected override void OnMouseRightButtonUp(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs