Class SfTileViewItem
Represents a selectable item inside a Syncfusion.UI.Xaml.Controls.Layout.TileView.
Inheritance
Namespace: Syncfusion.UI.Xaml.Controls.Layout
Assembly: Syncfusion.SfTileView.UWP.dll
Syntax
[ClassReference(IsReviewed = false)]
public class SfTileViewItem : ContentControl
Remarks
Tile view item is a Windows.UI.Xaml.Controls.ContentControl
Constructors
SfTileViewItem()
Initializes a new instance of the SfTileViewItem class.
Declaration
[ClassReference(IsReviewed = false)]
public SfTileViewItem()
Fields
MaximizedContentProperty
Using a DependencyProperty as the backing store for MaximizedContent. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty MaximizedContentProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
StateProperty
Using a DependencyProperty as the backing store for TileViewItemState. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty StateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
MaximizedContent
Gets or sets the content in maximized TileViewItemState.
Declaration
[ClassReference(IsReviewed = false)]
public object MaximizedContent { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null. |
Remarks
Used to customize the Maximized item content.
State
Gets or sets the TileViewItemState.
Declaration
[ClassReference(IsReviewed = false)]
public TileViewItemState State { get; set; }
Property Value
Type | Description |
---|---|
TileViewItemState | The default value is Normal. |
Methods
add_StateChanged(StateChangedEventHandler)
Declaration
public void add_StateChanged(StateChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
StateChangedEventHandler | value |
Dispose()
A method to dispose TileItems
Declaration
public void Dispose()
Dispose(Boolean)
Disposing unused objects
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Flag to represents whether the objects are disposable or not |
OnApplyTemplate()
Initializes all the child elements of Syncfusion.UI.Xaml.Controls.Input.SfTileViewItem control.
Declaration
protected override void OnApplyTemplate()
OnPointerEntered(PointerRoutedEventArgs)
Occurs when Pointer entered
Declaration
protected override void OnPointerEntered(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Event argument |
OnPointerExited(PointerRoutedEventArgs)
Occurs when Pointer exited
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Event argument |
OnPointerMoved(PointerRoutedEventArgs)
Invoked when the pointer is moved
Declaration
protected override void OnPointerMoved(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Event arguments |
OnPointerPressed(PointerRoutedEventArgs)
Invoked when the pointer is pressed
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Event arguments |
OnPointerReleased(PointerRoutedEventArgs)
Invoked when the pointer is released
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Event arguments |
OnStateChanged(DependencyPropertyChangedEventArgs)
Called when the TileViewItemState Property changed.
Declaration
protected virtual void OnStateChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args | The DependencyPropertyChangedEventArgs instance containing the event data. |
OnTapped(TappedRoutedEventArgs)
Occurs when Tap interaction occurs over the tile view item.
Declaration
protected override void OnTapped(TappedRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.TappedRoutedEventArgs | e | Event argument |
remove_StateChanged(StateChangedEventHandler)
Declaration
public void remove_StateChanged(StateChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
StateChangedEventHandler | value |
Events
StateChanged
Occurs when current Syncfusion.UI.Xaml.Controls.Layout.TileviewItem.State is changed.
Declaration
[ClassReference(IsReviewed = false)]
public event StateChangedEventHandler StateChanged
Event Type
Type |
---|
StateChangedEventHandler |