Class Tile
Visually represents an item in a RadTileList control.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
[TelerikToolboxCategory("Navigation")]
public class Tile : ContentControl
Constructors
Tile()
Fields
CommandParameterProperty
Identifies the CommandParameter dependency property.
Declaration
public static readonly DependencyProperty CommandParameterProperty
Field Value
System.Windows.DependencyProperty
|
CommandProperty
Identifies the Command dependency property.
Declaration
public static readonly DependencyProperty CommandProperty
Field Value
System.Windows.DependencyProperty
|
CommandTargetProperty
Identifies the CommandTarget dependency property.
Declaration
public static readonly DependencyProperty CommandTargetProperty
Field Value
System.Windows.DependencyProperty
|
IsSelectedProperty
Identifies the IsSelected dependency property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
System.Windows.DependencyProperty
|
TileTypeProperty
Identifies the TileTypeProperty property.
Declaration
public static readonly DependencyProperty TileTypeProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Command
Gets or sets the command for a Tile.
Declaration
public ICommand Command { get; set; }
Property Value
System.Windows.Input.ICommand
The command. |
CommandParameter
Gets or sets the command parameter of the Tile.
Declaration
public object CommandParameter { get; set; }
Property Value
System.Object
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
System.Windows.IInputElement
The command target. |
DisplayIndex
Gets or sets the display index.
Declaration
public int? DisplayIndex { get; set; }
Property Value
System.Nullable<System.Int32>
|
Group
Gets the Group the tile belongs to.
Declaration
public TileGroup Group { get; }
Property Value
TileGroup
|
IsEnabledCore
Fetches the value of the IsEnabled property.
Declaration
protected override bool IsEnabledCore { get; }
Property Value
System.Boolean
|
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
public bool IsSelected { get; set; }
Property Value
System.Boolean
|
TileType
Gets or sets the tile type.
Declaration
public TileType TileType { get; set; }
Property Value
TileType
|
Methods
ChangeVisualState(Boolean)
Changes the visual state.
Declaration
protected virtual void ChangeVisualState(bool useTransitions)
Parameters
System.Boolean
useTransitions
If set to |
GoToState(Boolean, String[])
Updates the visual state.
Declaration
protected void GoToState(bool useTransitions, params string[] stateNames)
Parameters
System.Boolean
useTransitions
|
System.String[]
stateNames
|
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnContentChanged(Object, Object)
Declaration
protected override void OnContentChanged(object oldContent, object newContent)
Parameters
System.Object
oldContent
|
System.Object
newContent
|
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
|
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.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
System.Windows.Input.MouseEventArgs
e
|
OnMouseLeave(MouseEventArgs)
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
|
OnMouseLeftButtonUp(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
|
OnMouseRightButtonUp(MouseButtonEventArgs)
Declaration
protected override void OnMouseRightButtonUp(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
|