Class RadTileList
Displays items in a rectangular tiles layout.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
[TelerikToolboxCategory("Navigation")]
public class RadTileList : ItemsControl, ISupportInitialize
Constructors
RadTileList()
Initializes a new instance of the RadTileList class.
Declaration
public RadTileList()
Fields
AutoGenerateTileProperty
Represents the AutoGenerateTile dependency property.
Declaration
public static readonly DependencyProperty AutoGenerateTileProperty
Field Value
System.Windows.DependencyProperty
|
CanUserSelectProperty
Identifies the CanUserSelect dependency property.
Declaration
public static readonly DependencyProperty CanUserSelectProperty
Field Value
System.Windows.DependencyProperty
|
GroupHeaderHeightProperty
Represents the GroupHeaderHeight dependency property.
Declaration
public static readonly DependencyProperty GroupHeaderHeightProperty
Field Value
System.Windows.DependencyProperty
|
GroupHeaderVisibilityProperty
Represents the GroupHeaderVisibility dependency property.
Declaration
public static readonly DependencyProperty GroupHeaderVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
GroupOffsetProperty
Represents the GroupOffset dependency property.
Declaration
public static readonly DependencyProperty GroupOffsetProperty
Field Value
System.Windows.DependencyProperty
|
GroupTemplateProperty
Represents the GroupTemplate dependency property.
Declaration
public static readonly DependencyProperty GroupTemplateProperty
Field Value
System.Windows.DependencyProperty
|
HorizontalTilesAlignmentProperty
Represents the HorizontalTilesAlignment dependency property.
Declaration
public static readonly DependencyProperty HorizontalTilesAlignmentProperty
Field Value
System.Windows.DependencyProperty
|
OrientationProperty
Represents the TilesOrientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.Windows.DependencyProperty
|
PanoramaBackgroundProperty
Represents the PanoramaBackground dependency property.
Declaration
public static readonly DependencyProperty PanoramaBackgroundProperty
Field Value
System.Windows.DependencyProperty
|
SelectedIndexProperty
Represents the SelectedItem dependency property.
Declaration
public static readonly DependencyProperty SelectedIndexProperty
Field Value
System.Windows.DependencyProperty
|
SelectedItemProperty
Represents the SelectedItem dependency property.
Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
System.Windows.DependencyProperty
|
SelectionChangedEvent
Identifies the SelectionChanged routed event.
Declaration
public static readonly RoutedEvent SelectionChangedEvent
Field Value
RoutedEvent
|
SelectionModeProperty
Identifies the SelectionMode dependency property.
Declaration
public static readonly DependencyProperty SelectionModeProperty
Field Value
System.Windows.DependencyProperty
|
SelectionMouseButtonProperty
Identifies the SelectionMouseButton dependency property.
Declaration
public static readonly DependencyProperty SelectionMouseButtonProperty
Field Value
System.Windows.DependencyProperty
|
TilePlaceHolderSideProperty
Represents the TilePlaceHolderSide Property.
Declaration
public static readonly DependencyProperty TilePlaceHolderSideProperty
Field Value
System.Windows.DependencyProperty
|
TileReorderModeProperty
Represents the TileReorderMode dependency property.
Declaration
public static readonly DependencyProperty TileReorderModeProperty
Field Value
System.Windows.DependencyProperty
|
VerticalTilesAlignmentProperty
Represents the VerticalTilesAlignment dependency property.
Declaration
public static readonly DependencyProperty VerticalTilesAlignmentProperty
Field Value
System.Windows.DependencyProperty
|
Properties
AutoGenerateTile
Gets or sets a value indicating whether tiles will be auto-generated.
Declaration
public bool AutoGenerateTile { get; set; }
Property Value
System.Boolean
|
CanUserSelect
Gets or sets a value indicating whether the user can select a tile.
Declaration
public bool CanUserSelect { get; set; }
Property Value
System.Boolean
|
GroupHeaderHeight
Gets or sets the height of the group header.
Declaration
public GridLength GroupHeaderHeight { get; set; }
Property Value
System.Windows.GridLength
|
GroupHeaderVisibility
Gets or sets the visibility of the groups' headers.
Declaration
public Visibility GroupHeaderVisibility { get; set; }
Property Value
System.Windows.Visibility
|
GroupMember
Gets or sets a property name that indicates the member to group by.
Declaration
public string GroupMember { get; set; }
Property Value
System.String
|
GroupOffset
Gets or sets the distance between the groups.
Declaration
public double GroupOffset { get; set; }
Property Value
System.Double
|
Groups
Gets the collection used to generate the groups of RadTileList.
Declaration
public ObservableCollection<TileGroup> Groups { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<TileGroup>
|
GroupTemplate
Gets or sets the template for the group overlay.
Declaration
public DataTemplate GroupTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
HorizontalTilesAlignment
Gets or sets HorizontalAlignment of the tiles according to the TileListPanel they are placed.
Declaration
public HorizontalAlignment HorizontalTilesAlignment { get; set; }
Property Value
System.Windows.HorizontalAlignment
|
Orientation
Gets or sets the orientation of the control. When set to Vertical (default) tiles are arranged top to bottom and if a scrollbar is needed it is horizontal. When set to Horizontal tiles are arranged left to right and if a scrollbar is needed it is vertical.
Declaration
public Orientation Orientation { get; set; }
Property Value
System.Windows.Controls.Orientation
|
PanoramaBackground
Gets or sets the content to be used as panorama effect background.
Declaration
public object PanoramaBackground { get; set; }
Property Value
System.Object
|
SelectedIndex
Gets or sets the selected item.
Declaration
public int SelectedIndex { get; set; }
Property Value
System.Int32
|
SelectedItem
Gets or sets the selected item.
Declaration
public object SelectedItem { get; set; }
Property Value
System.Object
|
SelectedItems
Gets a collection that contains the data items corresponding to the selected rows.
Declaration
public ObservableCollection<object> SelectedItems { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<System.Object>
A collection of the data items corresponding to the selected rows. |
Remarks
If the SelectionMode property is set to Single, the SelectedItems list will contain only the SelectedItem property value.
SelectionMode
Gets or sets the SelectionMode. This is a dependency property.
Declaration
public SelectionMode SelectionMode { get; set; }
Property Value
SelectionMode
|
SelectionMouseButton
Gets or sets which mouse button should be used for selection.
Declaration
public SelectionMouseButton SelectionMouseButton { get; set; }
Property Value
SelectionMouseButton
The selection mouse button. |
TilePlaceHolderSide
Gets or sets the TilePlaceHolderSide.
Declaration
public double TilePlaceHolderSide { get; set; }
Property Value
System.Double
|
TileReorderMode
Gets or sets the allowed ways user can reorder tiles.
Declaration
public TileReorderMode TileReorderMode { get; set; }
Property Value
TileReorderMode
|
VerticalTilesAlignment
Gets or sets VerticalAlignment of the tiles according to the TileListPanel they are placed.
Declaration
public VerticalAlignment VerticalTilesAlignment { get; set; }
Property Value
System.Windows.VerticalAlignment
|
Methods
add_SelectionChanged(SelectionChangedEventHandler)
Declaration
public void add_SelectionChanged(SelectionChangedEventHandler value)
Parameters
SelectionChangedEventHandler
value
|
BeginInit()
Called when the control begins Initializing.
Declaration
public void BeginInit()
ClearContainerForItemOverride(DependencyObject, Object)
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject
element
|
System.Object
item
|
EndInit()
Called when the control is Initialized.
Declaration
public void EndInit()
GetContainerForItemOverride()
Creates a Tile.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
System.Windows.DependencyObject
|
IsItemItsOwnContainerOverride(Object)
Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
System.Object
item
|
Returns
System.Boolean
|
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()
Overrides
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. |
OnItemsChanged(NotifyCollectionChangedEventArgs)
Called when the value of the System.Windows.Controls.ItemsControl.Items property changes.
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
System.Collections.Specialized.NotifyCollectionChangedEventArgs
e
A System.Collections.Specialized.NotifyCollectionChangedEventArgs that contains the event data. |
Overrides
OnItemTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector)
When overridden OnRadItemTemplateSelectorChanged is called when the TemplateSelector for the contained items changes.
Declaration
protected override void OnItemTemplateSelectorChanged(DataTemplateSelector oldItemTemplateSelector, DataTemplateSelector newItemTemplateSelector)
Parameters
DataTemplateSelector
oldItemTemplateSelector
The old TemplateSelector. |
DataTemplateSelector
newItemTemplateSelector
The new TemplateSelector. |
Overrides
OnKeyUp(KeyEventArgs)
Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
System.Windows.Input.KeyEventArgs
e
|
PrepareContainerForItemOverride(DependencyObject, Object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject
element
Element used to display the specified item. |
System.Object
item
Specified item. |
Overrides
remove_SelectionChanged(SelectionChangedEventHandler)
Declaration
public void remove_SelectionChanged(SelectionChangedEventHandler value)
Parameters
SelectionChangedEventHandler
value
|
SelectAll()
Selects all items.
Declaration
public void SelectAll()
UnselectAll()
Unselects all items.
Declaration
public void UnselectAll()
Events
AutoGeneratingTile
Occurs when a tile is being generated.
Declaration
public event EventHandler<AutoGeneratingTileEventArgs> AutoGeneratingTile
Event Type
System.EventHandler<AutoGeneratingTileEventArgs>
|
SelectionChanged
Occurs when the selected items have changed.
Declaration
public event SelectionChangedEventHandler SelectionChanged
Event Type
SelectionChangedEventHandler
|