Property | Type | Description | |
---|---|---|---|
ChildContentVisibilityProperty |
Method | Description | |
---|---|---|
OnApplyTemplate ( ) : void |
get the ItemsHolder and generate any children
|
|
TabControlEx ( ) : System |
Method | Description | |
---|---|---|
GetSelectedTabItem ( ) : System.Windows.Controls.TabItem |
copied from TabControl; wish it were protected in that class instead of private
|
|
OnItemsChanged ( |
when the items change we remove any generated panel children and add any new ones as necessary
|
|
OnSelectionChanged ( System.Windows.Controls.SelectionChangedEventArgs e ) : void |
update the visible child in the ItemsHolder
|
Method | Description | |
---|---|---|
CreateChildContentPresenter ( object item ) : |
create the child ContentPresenter for the given item (could be data or a TabItem)
|
|
FindChildContentPresenter ( object data ) : |
Find the CP for the given object. data could be a TabItem or a piece of data
|
|
ItemContainerGenerator_StatusChanged ( object sender, |
if containers are done, generate the selected item
|
|
TabControlEx_Loaded ( object sender, |
in some scenarios we need to update when loaded in case the ApplyTemplate happens before the databind.
|
|
UpdateSelectedItem ( ) : void |
generate a ContentPresenter for the selected item
|
protected GetSelectedTabItem ( ) : System.Windows.Controls.TabItem | ||
return | System.Windows.Controls.TabItem |
protected OnItemsChanged ( |
||
e | ||
return | void |
protected OnSelectionChanged ( System.Windows.Controls.SelectionChangedEventArgs e ) : void | ||
e | System.Windows.Controls.SelectionChangedEventArgs | |
return | void |