Class
Tile

Visually represents an item in a RadTileList control.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Navigation")]
public class Tile : ContentControl

Inheritance: objectTile

Constructors

Tile()

Initializes a new instance of the Tile class.

Declaration

cs-api-definition
public Tile()

Fields

CommandParameterProperty

Identifies the CommandParameter dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandParameterProperty

Field Value

DependencyProperty

CommandProperty

Identifies the Command dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandProperty

Field Value

DependencyProperty

CommandTargetProperty

Identifies the CommandTarget dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandTargetProperty

Field Value

DependencyProperty

IsSelectedProperty

Identifies the IsSelected dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsSelectedProperty

Field Value

DependencyProperty

TileTypeProperty

Identifies the TileTypeProperty property.

Declaration

cs-api-definition
public static readonly DependencyProperty TileTypeProperty

Field Value

DependencyProperty

Properties

Command

Gets or sets the command for a Tile.

Declaration

cs-api-definition
public ICommand Command { get; set; }

Property Value

ICommand

The command.

CommandParameter

Gets or sets the command parameter of the Tile.

Declaration

cs-api-definition
public object CommandParameter { get; set; }

Property Value

object

The command parameter.

CommandTarget

Gets or sets the command target of the Tile when using routed command.

Declaration

cs-api-definition
public IInputElement CommandTarget { get; set; }

Property Value

IInputElement

The command target.

DisplayIndex

Gets or sets the display index.

Declaration

cs-api-definition
public int? DisplayIndex { get; set; }

Property Value

int?

Group

Gets the Group the tile belongs to.

Declaration

cs-api-definition
public TileGroup Group { get; }

Property Value

TileGroup

IsEnabledCore

Fetches the value of the IsEnabled property.

Declaration

cs-api-definition
protected override bool IsEnabledCore { get; }

Property Value

bool

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.

Declaration

cs-api-definition
public bool IsSelected { get; set; }

Property Value

bool

TileType

Gets or sets the tile type.

Declaration

cs-api-definition
public TileType TileType { get; set; }

Property Value

TileType

Methods

ChangeVisualState(bool)

Changes the visual state.

Declaration

cs-api-definition
protected virtual void ChangeVisualState(bool useTransitions)

Parameters

useTransitions

bool

If set to true [use transitions].

GoToState(bool, params string[])

Updates the visual state.

Declaration

cs-api-definition
protected void GoToState(bool useTransitions, params string[] stateNames)

Parameters

useTransitions

bool

stateNames

string[]

OnApplyTemplate()

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnContentChanged(object, object)

Declaration

cs-api-definition
protected override void OnContentChanged(object oldContent, object newContent)

Parameters

oldContent

object

newContent

object

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnIsSelectedChanged()

Called when selection is changed.

Declaration

cs-api-definition
protected virtual void OnIsSelectedChanged()

OnMouseEnter(MouseEventArgs)

Declaration

cs-api-definition
protected override void OnMouseEnter(MouseEventArgs e)

Parameters

e

MouseEventArgs

OnMouseLeave(MouseEventArgs)

Declaration

cs-api-definition
protected override void OnMouseLeave(MouseEventArgs e)

Parameters

e

MouseEventArgs

OnMouseLeftButtonUp(MouseButtonEventArgs)

Declaration

cs-api-definition
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)

Parameters

e

MouseButtonEventArgs

OnMouseRightButtonUp(MouseButtonEventArgs)

Declaration

cs-api-definition
protected override void OnMouseRightButtonUp(MouseButtonEventArgs e)

Parameters

e

MouseButtonEventArgs