This topic has not yet been rated - Rate this topic

TabItem.IsSelected Property

Gets or sets a value that indicates whether the TabItem is currently selected.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls (in System.Windows.Controls.dll)
public bool IsSelected { get; set; }
<sdk:TabItem IsSelected="bool"/>

Property Value

Type: System.Boolean
true if the TabItem is selected; otherwise, false.

Dependency property identifier field: IsSelectedProperty

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
IsSelected requires TwoWay binding in SilverLight.
For some reason  IsSelected requires Mode=TwoWay in SilverLight binding.
Without this the Tab Item will not  get selected when property changes. Bug?

<sdk1:TabItem  IsSelected="{IsTabSelected, Mode=TwoWay}"  >
  .....               
</sdk1:TabItem>