ClassRadTileList
Represents a control that displays a collection of tiles in a list format, allowing for easy organization and interaction with the items. The RadTileList supports features like auto-generation of tiles, grouping, and selection handling, as well as layout management for tiles in a customizable manner. It provides various properties to control the appearance and behavior of the tiles, including TileReorderMode for reordering tiles, Grouping capabilities based on a specified property, and support for touch interactions for handling drag-and-drop scenarios.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
[TelerikToolboxCategory("Navigation")]
public class RadTileList : ItemsControl
Inheritance: objectRadTileList
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
DependencyProperty
CanUserSelectProperty
Identifies the CanUserSelect dependency property.
Declaration
public static readonly DependencyProperty CanUserSelectProperty
Field Value
DependencyProperty
GroupHeaderHeightProperty
Represents the GroupHeaderHeight dependency property.
Declaration
public static readonly DependencyProperty GroupHeaderHeightProperty
Field Value
DependencyProperty
GroupHeaderVisibilityProperty
Represents the GroupHeaderVisibility dependency property.
Declaration
public static readonly DependencyProperty GroupHeaderVisibilityProperty
Field Value
DependencyProperty
GroupOffsetProperty
Represents the GroupOffset dependency property.
Declaration
public static readonly DependencyProperty GroupOffsetProperty
Field Value
DependencyProperty
GroupTemplateProperty
Represents the GroupTemplate dependency property.
Declaration
public static readonly DependencyProperty GroupTemplateProperty
Field Value
DependencyProperty
HorizontalTilesAlignmentProperty
Represents the HorizontalTilesAlignment dependency property.
Declaration
public static readonly DependencyProperty HorizontalTilesAlignmentProperty
Field Value
DependencyProperty
OrientationProperty
Represents the TilesOrientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
DependencyProperty
PanoramaBackgroundProperty
Represents the PanoramaBackground dependency property.
Declaration
public static readonly DependencyProperty PanoramaBackgroundProperty
Field Value
DependencyProperty
SelectedIndexProperty
Represents the SelectedItem dependency property.
Declaration
public static readonly DependencyProperty SelectedIndexProperty
Field Value
DependencyProperty
SelectedItemProperty
Represents the SelectedItem dependency property.
Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
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
DependencyProperty
SelectionMouseButtonProperty
Identifies the SelectionMouseButton dependency property.
Declaration
public static readonly DependencyProperty SelectionMouseButtonProperty
Field Value
DependencyProperty
TilePlaceHolderSideProperty
Represents the TilePlaceHolderSide Property.
Declaration
public static readonly DependencyProperty TilePlaceHolderSideProperty
Field Value
DependencyProperty
TileReorderModeProperty
Represents the TileReorderMode dependency property.
Declaration
public static readonly DependencyProperty TileReorderModeProperty
Field Value
DependencyProperty
VerticalTilesAlignmentProperty
Represents the VerticalTilesAlignment dependency property.
Declaration
public static readonly DependencyProperty VerticalTilesAlignmentProperty
Field Value
DependencyProperty
Properties
AutoGenerateTile
Gets or sets a value indicating whether tiles will be auto-generated.
CanUserSelect
Gets or sets a value indicating whether the user can select a tile.
Declaration
public bool CanUserSelect { get; set; }
Property Value
true if user can select; otherwise, false.
GroupHeaderHeight
Gets or sets the height of the group header.
Declaration
public GridLength GroupHeaderHeight { get; set; }
Property Value
GridLength
GroupHeaderVisibility
Gets or sets the visibility of the groups' headers.
Declaration
public Visibility GroupHeaderVisibility { get; set; }
Property Value
Visibility
GroupMember
Gets or sets a property name that indicates the member to group by.
GroupOffset
Gets or sets the distance between the groups.
GroupTemplate
Gets or sets the template for the group overlay.
Declaration
public DataTemplate GroupTemplate { get; set; }
Property Value
DataTemplate
Groups
Gets the collection used to generate the groups of RadTileList.
Declaration
public ObservableCollection<TileGroup> Groups { get; }
Property Value
HorizontalTilesAlignment
Gets or sets HorizontalAlignment of the tiles according to the TileListPanel they are placed.
Declaration
public HorizontalAlignment HorizontalTilesAlignment { get; set; }
Property Value
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
Orientation
PanoramaBackground
Gets or sets the content to be used as panorama effect background.
SelectedIndex
Gets or sets the selected item.
SelectedItem
Gets or sets the selected item.
SelectedItems
Gets a collection that contains the data items corresponding to the selected rows.
Declaration
public ObservableCollection<object> SelectedItems { get; }
Property Value
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
The selection mouse button.
TilePlaceHolderSide
Gets or sets the TilePlaceHolderSide.
TileReorderMode
Gets or sets the allowed ways user can reorder tiles.
Declaration
public TileReorderMode TileReorderMode { get; set; }
Property Value
VerticalTilesAlignment
Gets or sets VerticalAlignment of the tiles according to the TileListPanel they are placed.
Declaration
public VerticalAlignment VerticalTilesAlignment { get; set; }
Property Value
VerticalAlignment
Methods
ClearContainerForItemOverride(DependencyObject, object)
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
item
GetContainerForItemOverride()
Creates a Tile.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
DependencyObject
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
The type-specific AutomationPeer implementation.
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.
OnItemContainerStyleChanged(Style, Style)
Declaration
protected override void OnItemContainerStyleChanged(Style oldItemContainerStyle, Style newItemContainerStyle)
Parameters
oldItemContainerStyle
Style
newItemContainerStyle
Style
OnItemContainerStyleSelectorChanged(StyleSelector, StyleSelector)
Declaration
protected override void OnItemContainerStyleSelectorChanged(StyleSelector oldItemContainerStyleSelector, StyleSelector newItemContainerStyleSelector)
Parameters
oldItemContainerStyleSelector
StyleSelector
newItemContainerStyleSelector
StyleSelector
OnItemTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector)
Declaration
protected override void OnItemTemplateSelectorChanged(DataTemplateSelector oldItemTemplateSelector, DataTemplateSelector newItemTemplateSelector)
Parameters
oldItemTemplateSelector
DataTemplateSelector
newItemTemplateSelector
DataTemplateSelector
OnItemsChanged(NotifyCollectionChangedEventArgs)
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
OnKeyUp(KeyEventArgs)
Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
e
KeyEventArgs
PrepareContainerForItemOverride(DependencyObject, object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
Element used to display the specified item.
item
Specified item.
Events
AutoGeneratingTile
Occurs when a tile is being generated.
Declaration
public event EventHandler<AutoGeneratingTileEventArgs> AutoGeneratingTile
Event Value
SelectionChanged
Occurs when the selected items have changed.
Declaration
public event SelectionChangedEventHandler SelectionChanged
Event Value
SelectionChangedEventHandler