Class RadTileViewItem
Represents an item in the RadTileView control.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
[TelerikToolboxCategory("Containers")]
public class RadTileViewItem : HeaderedContentControl
Constructors
RadTileViewItem()
Initializes a new instance of the RadTileViewItem class.
Declaration
public RadTileViewItem()
Remarks
Use this constructor to create and initialize a new instance of the RadTileViewItem control.
Fields
HeaderStyleProperty
Identifies the HeaderStyle dependency property.
Declaration
public static readonly DependencyProperty HeaderStyleProperty
Field Value
System.Windows.DependencyProperty
|
IsMouseOverDraggingProperty
Identifies the IsMouseOverDragging dependency property.
Declaration
public static readonly DependencyProperty IsMouseOverDraggingProperty
Field Value
System.Windows.DependencyProperty
|
IsSelectedProperty
Identifies the IsSelected dependency property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
System.Windows.DependencyProperty
|
MinimizedHeightProperty
Identifies the MinimizedHeight dependency property.
Declaration
public static readonly DependencyProperty MinimizedHeightProperty
Field Value
System.Windows.DependencyProperty
|
MinimizedWidthProperty
Identifies the MinimizedWidth dependency property.
Declaration
public static readonly DependencyProperty MinimizedWidthProperty
Field Value
System.Windows.DependencyProperty
|
PositionChangedEvent
Occurs when the Position of a RadTileViewItem is changed.
Declaration
public static readonly RoutedEvent PositionChangedEvent
Field Value
System.Windows.RoutedEvent
|
Remarks
Use this event to detect when the Position of a RadTileViewItem is changed.
PositionProperty
Identifies the Position dependency property.
Declaration
public static readonly DependencyProperty PositionProperty
Field Value
System.Windows.DependencyProperty
|
PreviewPositionChangedEvent
Occurs before when the Position of a RadTileViewItem is changed.
Declaration
public static readonly RoutedEvent PreviewPositionChangedEvent
Field Value
System.Windows.RoutedEvent
|
Remarks
Use this event to detect when the Position of a RadTileViewItem is going changed.
PreviewSelectionChangedEvent
Identifies the PreviewSelectionChanged routed event.
Declaration
public static readonly RoutedEvent PreviewSelectionChangedEvent
Field Value
System.Windows.RoutedEvent
|
PreviewTileStateChangedEvent
Occurs before the TileState of a RadTileViewItem is changed.
Declaration
public static readonly RoutedEvent PreviewTileStateChangedEvent
Field Value
System.Windows.RoutedEvent
|
Remarks
Use this event to detect when the TileState of a RadTileViewItem is about to be changed changed. In cases when you need to prevent the TileState from changing, you can handle this event.
RestoredHeightProperty
Identifies the RestoredHeight dependency property.
Declaration
public static readonly DependencyProperty RestoredHeightProperty
Field Value
System.Windows.DependencyProperty
|
RestoredWidthProperty
Identifies the RestoredWidth dependency property.
Declaration
public static readonly DependencyProperty RestoredWidthProperty
Field Value
System.Windows.DependencyProperty
|
SelectionChangedEvent
Identifies the SelectionChanged routed event.
Declaration
public static readonly RoutedEvent SelectionChangedEvent
Field Value
System.Windows.RoutedEvent
|
TileStateChangedEvent
Occurs when the TileState of a RadTileViewItem is changed.
Declaration
public static readonly RoutedEvent TileStateChangedEvent
Field Value
System.Windows.RoutedEvent
|
Remarks
Use this event to detect when the TileState of a RadTileViewItem is changed.
TileStateProperty
Identifies the TileState dependency property.
Declaration
public static readonly DependencyProperty TileStateProperty
Field Value
System.Windows.DependencyProperty
|
Properties
HeaderStyle
Gets or sets the HeaderStyle property.
Declaration
public Style HeaderStyle { get; set; }
Property Value
System.Windows.Style
|
IsMouseOverDragging
Gets or sets the IsMouseOverDragging property.
Declaration
public bool IsMouseOverDragging { get; set; }
Property Value
System.Boolean
|
IsSelected
Gets or sets the IsSelected property.
Declaration
public bool IsSelected { get; set; }
Property Value
System.Boolean
|
MinimizedHeight
Gets or sets the height of the item when it is in Minimized state.
Declaration
public double MinimizedHeight { get; set; }
Property Value
System.Double
The height of the item when it is in Minimized state. |
MinimizedWidth
Gets or sets the width of the item when it is in Minimized state.
Declaration
public double MinimizedWidth { get; set; }
Property Value
System.Double
The width of the item when it is in Minimized state. |
ParentTileView
Gets the parent TileView that the item is assigned to.
Declaration
public RadTileView ParentTileView { get; }
Property Value
RadTileView
|
Position
Gets or sets the position of the tile.
Declaration
public int Position { get; set; }
Property Value
System.Int32
The position. |
RestoredHeight
Gets or sets the RestoredHeight property.
Declaration
public double RestoredHeight { get; set; }
Property Value
System.Double
|
RestoredWidth
Gets or sets the RestoredWidth property.
Declaration
public double RestoredWidth { get; set; }
Property Value
System.Double
|
TileState
Gets or sets the TileState property.
Declaration
public TileViewItemState TileState { get; set; }
Property Value
TileViewItemState
|
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
The type-specific System.Windows.Automation.Peers.AutomationPeer implementation. |
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(Boolean, Boolean)
Maintain attached Selector.IsSelectedProperty property and RadTabItem.IsSelected property synchronized.
Declaration
protected virtual void OnIsSelectedChanged(bool oldValue, bool newValue)
Parameters
System.Boolean
oldValue
|
System.Boolean
newValue
|
OnKeyDown(KeyEventArgs)
Invoked on KeyDown.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Input.KeyEventArgs
e
|
OnPositionChanged(Int32, Int32)
Maintain attached Selector.IsSelectedProperty property and RadTabItem.IsSelected property synchronized.
Declaration
protected virtual void OnPositionChanged(int oldPosition, int newPosition)
Parameters
System.Int32
oldPosition
|
System.Int32
newPosition
|
OnPositionChanged(RadRoutedEventArgs)
Raises the PositionChanged event.
Declaration
protected virtual void OnPositionChanged(RadRoutedEventArgs e)
Parameters
RadRoutedEventArgs
e
The RadRoutedEventArgs instance containing the event data. |
OnPreviewPositionChanged(RadRoutedEventArgs)
Raises the PreviewPositionChanged event.
Declaration
protected virtual bool OnPreviewPositionChanged(RadRoutedEventArgs e)
Parameters
RadRoutedEventArgs
e
The RadRoutedEventArgs instance containing the event data. |
Returns
System.Boolean
|
OnPreviewSelectionChanged(SelectionChangedEventArgs)
Raises the PreviewSelected event.
Declaration
protected virtual bool OnPreviewSelectionChanged(SelectionChangedEventArgs e)
Parameters
System.Windows.Controls.SelectionChangedEventArgs
e
The RadRoutedEventArgs instance containing the event data. |
Returns
System.Boolean
|
OnPreviewTileStateChanged(PreviewTileStateChangedEventArgs)
Raises the PreviewTileStateChanged event.
Declaration
protected virtual void OnPreviewTileStateChanged(PreviewTileStateChangedEventArgs e)
Parameters
PreviewTileStateChangedEventArgs
e
The RadRoutedEventArgs instance containing the event data. |
OnSelectionChanged(SelectionChangedEventArgs)
Raises the SelectionChanged event.
Declaration
protected virtual void OnSelectionChanged(SelectionChangedEventArgs e)
Parameters
System.Windows.Controls.SelectionChangedEventArgs
e
The RadRoutedEventArgs instance containing the event data. |
OnTileStateChanged(TileViewItemState, TileViewItemState)
Invoked when the TileState property is changed.
Declaration
protected virtual void OnTileStateChanged(TileViewItemState oldValue, TileViewItemState newValue)
Parameters
TileViewItemState
oldValue
|
TileViewItemState
newValue
|
OnTileStateChanged(RadRoutedEventArgs)
Raises the TileStateChanged event.
Declaration
protected virtual void OnTileStateChanged(RadRoutedEventArgs e)
Parameters
RadRoutedEventArgs
e
The RadRoutedEventArgs instance containing the event data. |
Events
PositionChanged
Occurs when the Position of a RadTileViewItem is changed.
Declaration
public event EventHandler<RadRoutedEventArgs> PositionChanged
Event Type
System.EventHandler<RadRoutedEventArgs>
|
PreviewPositionChanged
Occurs when the TileState of a RadTileViewItem is changed.
Declaration
public event EventHandler<RadRoutedEventArgs> PreviewPositionChanged
Event Type
System.EventHandler<RadRoutedEventArgs>
|
PreviewSelectionChanged
Occurs before the tree item is selected.
Declaration
public event SelectionChangedEventHandler PreviewSelectionChanged
Event Type
System.Windows.Controls.SelectionChangedEventHandler
|
PreviewTileStateChanged
Occurs before the TileState of a RadTileViewItem is changed.
Declaration
public event EventHandler<PreviewTileStateChangedEventArgs> PreviewTileStateChanged
Event Type
System.EventHandler<PreviewTileStateChangedEventArgs>
|
SelectionChanged
Occurs after the tree item is selected.
Declaration
public event SelectionChangedEventHandler SelectionChanged
Event Type
System.Windows.Controls.SelectionChangedEventHandler
|
TileStateChanged
Occurs when the TileState of a RadTileViewItem is changed.
Declaration
public event EventHandler<RadRoutedEventArgs> TileStateChanged
Event Type
System.EventHandler<RadRoutedEventArgs>
|