Articles in this section
Category / Section

How to disable the normal state in the TileViewControl?

1 min read

Normal state of TileViewItem can be disabled in the TileViewcontrol by setting UseNormalState property as True. When the property is set to false and TileViewItem cannot switched to NormalState

Default value of the UseNormalState property is true.

XAML

<syncfusion:TileViewControl UseNormalState="{Binding CanUsedNormalState}" >
            <syncfusion:TileViewItem Header="Item 1"  />
            <syncfusion:TileViewItem Header="Item 2"/>
            <syncfusion:TileViewItem Header="Item 3"/>
            <syncfusion:TileViewItem Header="Item 4"/>
        </syncfusion:TileViewControl>

 

C#

public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            this.DataContext = this;
        }
        private bool _CanUsedNormalState = false;
        public bool CanUsedNormalState
        {
            get
            {
                return _CanUsedNormalState;
            }
            set
            {
              _CanUsedNormalState = value;
 
            }
        }
    }

 

 

 

 

 

 

The following screenshot displays the change in the State of the TileViewItem

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied