Class TileViewItem
Inherited Members
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class TileViewItem : TileViewItemBase
Constructors
TileViewItem()
TileViewItem Class Constructor
Declaration
public TileViewItem()
Fields
BorderColumnProperty
Identifies the TileViewItem BorderColumn Dependency Property.
Declaration
public static readonly DependencyProperty BorderColumnProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
BorderRowProperty
Identifies the TileViewItem BorderRow Dependency Property.
Declaration
public static readonly DependencyProperty BorderRowProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
CloseButtonMarginProperty
Identifies the TileViewItem CloseButtonMargin Dependency Property.
Declaration
public static readonly DependencyProperty CloseButtonMarginProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
CloseButtonStyleProperty
Identifies the TileViewItem CloseButtonStyle Dependency Property.
Declaration
public static readonly DependencyProperty CloseButtonStyleProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
CloseButtonVisibilityProperty
Identifies the TileViewItem CloseButtonVisibility Dependency Property.
Declaration
public static readonly DependencyProperty CloseButtonVisibilityProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
CloseModeProperty
Identifies the TileViewItem CloseMode Dependency Property
Declaration
public static readonly DependencyProperty CloseModeProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
CornerRadiusProperty
Identifies the TileViewItem CornerRadius Dependency Property.
Declaration
public static readonly DependencyProperty CornerRadiusProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
HeaderBackgroundProperty
Identifies the TileViewItem HeaderBackground Dependency Property.
Declaration
public static readonly DependencyProperty HeaderBackgroundProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
HeaderBorderBrushProperty
Identifies the TileViewItem HeaderBorderBrush Dependency Property.
Declaration
public static readonly DependencyProperty HeaderBorderBrushProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
HeaderBorderThicknessProperty
Identifies the TileViewItem HeaderBorderThickness Dependency Property.
Declaration
public static readonly DependencyProperty HeaderBorderThicknessProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
HeaderContent
Stores the TileViewItem Header Content
Declaration
public ContentPresenter HeaderContent
Field Value
| Type |
|---|
| System.Windows.Controls.ContentPresenter |
HeaderCornerRadiusProperty
Identifies the TileViewItem HeaderCornerRadius Dependency Property.
Declaration
public static readonly DependencyProperty HeaderCornerRadiusProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
HeaderCursorProperty
Identifies the TileViewItem HeaderCursor dependency property.
Declaration
public static readonly DependencyProperty HeaderCursorProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
HeaderForegroundProperty
Identifies the TileViewItem HeaderForeground Dependency Property.
Declaration
public static readonly DependencyProperty HeaderForegroundProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
HeaderHeightProperty
Identifies the TileViewItem HeaderHeight Dependency Property.
Declaration
public static readonly DependencyProperty HeaderHeightProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
HeaderTemplateProperty
Identifies the TileViewItem HeaderTemplate Dependency Property.
Declaration
public static readonly DependencyProperty HeaderTemplateProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
HeaderVisibilityProperty
Identifies the TileViewItem HeaderVisibility Dependency Property.
Declaration
public static readonly DependencyProperty HeaderVisibilityProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
IsOverrideItemTemplateProperty
Identifies the TileVieWItem IsOverrideItemTemplate Dependency Property
Declaration
public static readonly DependencyProperty IsOverrideItemTemplateProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
IsSelectedProperty
Identifies the TileViewItem IsSelected Dependency Property
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
ItemContentTemplateProperty
Identifies the TileViewItem ItemContentTemplate Dependency Property.
Declaration
public static readonly DependencyProperty ItemContentTemplateProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
ItemTemplateProperty
Identifies the TileViewItem ItemTemplate Dependency Property.
Declaration
public static readonly DependencyProperty ItemTemplateProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
mainGrid
stores the main grid object of the tile view Item
Declaration
public Grid mainGrid
Field Value
| Type |
|---|
| System.Windows.Controls.Grid |
MaximizedHeaderProperty
Identifies the TileViewItem MaximizedHeader Dependency Property
Declaration
public static readonly DependencyProperty MaximizedHeaderProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
MaximizedItemContentProperty
Identifies the TileViewItem MaximizedContent Dependency Property
Declaration
public static readonly DependencyProperty MaximizedItemContentProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
MaximizedItemTemplateProperty
Identifies the TileViewItem MaximizedItemTemplate Dependency Property.
Declaration
public static readonly DependencyProperty MaximizedItemTemplateProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
MinimizedHeaderProperty
Identifies the TileViewItem MinimizedHeader Dependency Property
Declaration
public static readonly DependencyProperty MinimizedHeaderProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
MinimizedItemContentProperty
Identifies the TileViewItem MinimizedContent Dependency Property
Declaration
public static readonly DependencyProperty MinimizedItemContentProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
MinimizedItemTemplateProperty
Identifies the TileViewItem MinimizedItemTemplate Dependency Property.
Declaration
public static readonly DependencyProperty MinimizedItemTemplateProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
MinMaxButtonBackgroundProperty
Identifies the TileViewItem MinMaxButtonBackground Dependency Property.
Declaration
public static readonly DependencyProperty MinMaxButtonBackgroundProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
MinMaxButtonMarginProperty
Identifies the TileViewItem MinMaxButtonMargin Dependency Property.
Declaration
public static readonly DependencyProperty MinMaxButtonMarginProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
MinMaxButtonStyleProperty
Identifies the TileViewItem MinMaxButtonStyle Dependency Property.
Declaration
public static readonly DependencyProperty MinMaxButtonStyleProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
MinMaxButtonToolTipProperty
Identifies the TileViewItem MinMaxButtonToolTip Dependency Property.
Declaration
public static readonly DependencyProperty MinMaxButtonToolTipProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
MinMaxButtonVisibilityProperty
Identifies the TileViewItem MinMaxButtonVisibility Dependency Property.
Declaration
public static readonly DependencyProperty MinMaxButtonVisibilityProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
OnMinimizedHeightProperty
Identifies the TileViewItem OnMinimizedHeight Dependency Property.
Declaration
public static readonly DependencyProperty OnMinimizedHeightProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
OnMinimizedWidthProperty
Identifies the TileViewItem OnMinimizedWidth Dependency Property.
Declaration
public static readonly DependencyProperty OnMinimizedWidthProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
ShareSpaceProperty
Using a DependencyProperty as the backing store for ShareSpace. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShareSpaceProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
SplitColumnProperty
Identifies the TileViewItem SplitColumn Dependency Property.
Declaration
public static readonly DependencyProperty SplitColumnProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
SplitRowProperty
Identifies the TileViewItem SplitRow Dependency Property.
Declaration
public static readonly DependencyProperty SplitRowProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
TileViewContent
Stores the TileViewItem Content
Declaration
public ContentPresenter TileViewContent
Field Value
| Type |
|---|
| System.Windows.Controls.ContentPresenter |
TileViewItemStateProperty
Identifies the TileViewItem TileViewItemState Dependency Property.
Declaration
public static readonly DependencyProperty TileViewItemStateProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
Properties
BorderColumn
Gets or sets the border column.
Declaration
public int BorderColumn { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The border column. |
BorderRow
Gets or sets the border row.
Declaration
public int BorderRow { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The border row. |
CloseButtonMargin
Gets or sets the TileViewItem Close button margin.
Declaration
public Thickness CloseButtonMargin { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Thickness | The MinMax button margin. |
CloseButtonStyle
Gets or sets the TileViewItem Close button style.
Declaration
public Style CloseButtonStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Style | The close button style. |
CloseButtonVisibility
Gets or sets the TileViewItem Close button visibility.
Declaration
public Visibility CloseButtonVisibility { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Visibility | The Close button visibility. |
CloseMode
Gets or sets the TileViewItem Close Mode
Declaration
public CloseMode CloseMode { get; set; }
Property Value
| Type | Description |
|---|---|
| CloseMode | The close mode. |
CornerRadius
Gets or sets the TileViewItem corner radius.
Declaration
public CornerRadius CornerRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.CornerRadius | The corner radius. |
HeaderBackground
Gets or sets the TileViewItem Header background.
Declaration
public Brush HeaderBackground { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Media.Brush | The header background. |
HeaderBorderBrush
Gets or sets the TileViewItem Header border brush.
Declaration
public Brush HeaderBorderBrush { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Media.Brush | The header border brush. |
HeaderBorderThickness
Gets or sets the TileViewItem Header Border thickness.
Declaration
public Thickness HeaderBorderThickness { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Thickness | The header border thickness. |
HeaderCornerRadius
Gets or sets the TileViewItem header corner radius.
Declaration
public CornerRadius HeaderCornerRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.CornerRadius | The header corner radius. |
HeaderCursor
Gets or sets the TileViewItem header cursor.
Declaration
public Cursor HeaderCursor { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Input.Cursor | The header cursor. |
HeaderForeground
Gets or sets the TileViewItem Header Foreground.
Declaration
public Brush HeaderForeground { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Media.Brush | The header foreground. |
HeaderHeight
Gets or sets the height of the TileViewItem Header.
Declaration
public double HeaderHeight { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The height of the header. |
HeaderTemplate
Gets or sets the TileViewItem header template.
Declaration
public DataTemplate HeaderTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.DataTemplate | The header template. |
HeaderVisibility
Gets or sets the TileViewItem Header visibility.
Declaration
public Visibility HeaderVisibility { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Visibility | The header visibility. |
IsOverrideItemTemplate
Gets or sets a value indicating whether this instance is override item template.
Declaration
public bool IsOverrideItemTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
IsSelected
Gets or sets a value indicating whether this TileViewItem is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
ItemContentTemplate
Gets or sets the TileViewItem content template.
Declaration
public DataTemplate ItemContentTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.DataTemplate | The item content template. |
ItemTemplate
Gets or sets the TileViewItem ItemTemplate.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
| Type |
|---|
| System.Windows.DataTemplate |
MaximizedHeader
Gets or sets the Header object of the maximized TileViewItem.
Declaration
public object MaximizedHeader { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object | The content of the minimized item. |
MaximizedItemContent
Gets or sets the content of the TileViewItem when TileViewItem State is Maximized
Declaration
public object MaximizedItemContent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object | The content of the maximized item. |
MaximizedItemTemplate
Gets or Sets the MaximizedItemTemplate of TileViewItem
Declaration
public DataTemplate MaximizedItemTemplate { get; set; }
Property Value
| Type |
|---|
| System.Windows.DataTemplate |
MinimizedHeader
Gets or sets the Header object of the minimized TileViewItem.
Declaration
public object MinimizedHeader { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object | The content of the minimized item. |
MinimizedItemContent
Gets or sets the content of the TileViewItem when TileViewItem State is Minimized
Declaration
public object MinimizedItemContent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object | The content of the minimized item. |
MinimizedItemTemplate
Gets or Sets the MinimizedItemTemplate of TileViewItem
Declaration
public DataTemplate MinimizedItemTemplate { get; set; }
Property Value
| Type |
|---|
| System.Windows.DataTemplate |
MinMaxButtonBackground
Gets or sets the TileViewItem MinMax button background.
Declaration
public Brush MinMaxButtonBackground { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Media.Brush | The MinMax button background. |
MinMaxButtonMargin
Gets or sets the TileViewItem MinMax button margin.
Declaration
public Thickness MinMaxButtonMargin { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Thickness | The MinMax button margin. |
MinMaxButtonStyle
Gets or sets the TileViewItem min max button style.
Declaration
public Style MinMaxButtonStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Style | The min max button style. |
MinMaxButtonToolTip
Gets or sets the TileViewItem min max button tool tip.
Declaration
public string MinMaxButtonToolTip { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The min max button tool tip. |
MinMaxButtonVisibility
Gets or sets the TileViewItem min max button visibility.
Declaration
public Visibility MinMaxButtonVisibility { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Visibility | The min max button visibility. |
OnMinimizedHeight
Gets or sets the height of the Minimized TileViewItem when TileViewItem State is Left and Right
Declaration
public GridLength OnMinimizedHeight { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.GridLength | The height of the TileViewItem on minimized. |
OnMinimizedWidth
Gets or sets the width of the on Minimized TileViewItem when TileViewItem State is top and bottom
Declaration
public GridLength OnMinimizedWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.GridLength | The width of the TileViewItem on minimized. |
ShareSpace
Declaration
public bool ShareSpace { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
SplitColumn
Gets or sets the split column.
Declaration
public int SplitColumn { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The split column. |
SplitRow
Gets or sets the split row.
Declaration
public int SplitRow { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The split row. |
TileViewItemState
Gets or Sets the TileViewItem State
Declaration
public TileViewItemState TileViewItemState { get; set; }
Property Value
| Type |
|---|
| TileViewItemState |
Methods
minposmethod()
method to get the position of the minimized report card
Declaration
public MinimizedItemsOrientation minposmethod()
Returns
| Type |
|---|
| MinimizedItemsOrientation |
OnApplyTemplate()
This method is called once the TileView Item is initialized Initialize the TileViewItem components, MinMaxButton, CloseButton, Header Object. Initializes the TileViewControl Property changed call Back events.
Declaration
public override void OnApplyTemplate()
Overrides
OnClosed(TileViewItem.CloseEventArgs)
Declaration
protected virtual void OnClosed(TileViewItem.CloseEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| TileViewItem.CloseEventArgs | e |
OnClosing(TileViewItem.CloseEventArgs)
Declaration
protected virtual void OnClosing(TileViewItem.CloseEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| TileViewItem.CloseEventArgs | e |
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
| Type |
|---|
| System.Windows.Automation.Peers.AutomationPeer |
OnEnumLoad(DependencyPropertyChangedEventArgs)
fired when the TileViewItem state Dependency Property is Called
Declaration
protected virtual void OnEnumLoad(DependencyPropertyChangedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | e | Dependecy Property Changed event args. |
OnGotFocus(RoutedEventArgs)
Make focus on the TileViewItem
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.RoutedEventArgs | e | Routed Event Args. |
Overrides
OnItemTemplateChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when the ItemTemplate property is changed
Declaration
public static void OnItemTemplateChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyObject | sender | The sender. |
| System.Windows.DependencyPropertyChangedEventArgs | e | The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
OnManipulationCompleted(ManipulationCompletedEventArgs)
Called before the System.Windows.UIElement.ManipulationCompleted event occurs.
Declaration
protected override void OnManipulationCompleted(ManipulationCompletedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.ManipulationCompletedEventArgs | e | Event data for the event. |
OnManipulationDelta(ManipulationDeltaEventArgs)
Called before the System.Windows.UIElement.ManipulationDelta event occurs.
Declaration
protected override void OnManipulationDelta(ManipulationDeltaEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.ManipulationDeltaEventArgs | e | Event data for the event. |
OnMouseDoubleClick(MouseButtonEventArgs)
Raises the System.Windows.Controls.Control.MouseDoubleClick routed event.
Declaration
protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.MouseButtonEventArgs | e | The event data. |
OnMouseEnter(MouseEventArgs)
Called before theMouseEnter event occurs.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.MouseEventArgs | e | The data for the event. |
OnMouseLeave(MouseEventArgs)
Called before the MouseLeave event occurs.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.MouseEventArgs | e | The data for the event. |
OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)
Raises the PreviewMouseLeftButtonDown event.
Declaration
protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.MouseButtonEventArgs | e | The System.Windows.Input.MouseButtonEventArgs instance containing the event data. |
OnPropertyChanged(DependencyPropertyChangedEventArgs)
Called when PropertyChanged
Declaration
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | e |
OnStateChanged(TileViewEventArgs)
Raises the StateChanged event.
Declaration
protected virtual void OnStateChanged(TileViewEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| TileViewEventArgs | e | The TileViewEventArgs instance containing the event data. |
OnStateChanging(TileViewCancelEventArgs)
Raises the StateChanging event.
Declaration
protected virtual void OnStateChanging(TileViewCancelEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| TileViewCancelEventArgs | e | The TileViewCancelEventArgs instance containing the event data. |
UpdateCoordinate(Point)
Gets the mouse coordinates when the TileViewItem is dragging
Declaration
public override void UpdateCoordinate(Point Pt)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Point | Pt | mouse coordinates |
Overrides
Events
Closed
Declaration
public event TileViewItem.CloseEventHandler Closed
Event Type
| Type |
|---|
| TileViewItem.CloseEventHandler |
Closing
Declaration
public event TileViewItem.CloseEventHandler Closing
Event Type
| Type |
|---|
| TileViewItem.CloseEventHandler |
Selected
Event Handler for Selected TileViewItem
Declaration
public event RoutedEventHandler Selected
Event Type
| Type |
|---|
| System.Windows.RoutedEventHandler |
StateChanged
Event Handler for TileViewItem StateChanged
Declaration
public event TileViewItem.TileViewEventHandler StateChanged
Event Type
| Type |
|---|
| TileViewItem.TileViewEventHandler |
StateChanging
Cancellable Event Handler for TileViewItem State
Declaration
public event TileViewItem.TileViewCancelEventHandler StateChanging
Event Type
| Type |
|---|
| TileViewItem.TileViewCancelEventHandler |