Свойство | Тип | Описание | |
---|---|---|---|
AddNewTabToEndProperty | |||
AllowAddNewProperty | |||
AllowDeleteProperty | |||
ConstructMoveToCopyToMenu | System.Action | ||
DefaultTabPathProperty | |||
IsUsingItemsSourceProperty | |||
IsUsingItemsSourcePropertyKey | System.Windows.DependencyPropertyKey | ||
NotTabItemNormalBackgroundProperty | |||
ReopenableTabs | List |
||
SelectNewTabOnCreateProperty | |||
StartUpLocation | string | ||
TabItemMaxHeightProperty | |||
TabItemMaxWidthProperty | |||
TabItemMinHeightProperty | |||
TabItemMinWidthProperty | |||
TabItemMouseOverBackgroundProperty | |||
TabItemNormalBackgroundProperty | |||
TabItemSelectedBackgroundProperty | |||
isGoingBackOrForward | bool | ||
newt_DragEnter | DragEventHandler | ||
newt_GiveFeedback | GiveFeedbackEventHandler | ||
newt_PreviewMouseDown | MouseButtonEventHandler | ||
newt_PreviewMouseMove | MouseEventHandler |
Свойство | Тип | Описание | |
---|---|---|---|
CoerceMaxHeight | object | ||
CoerceMaxWidth | object | ||
CoerceMinHeight | object | ||
CoerceMinWidth | object | ||
ContextMenuItem_Click | void | ||
DropdownButton_Checked | void | ||
GetItems | IEnumerable | ||
GetTabItem | TabItem | ||
GetTabsCount | int | ||
InternalChildren | IEnumerable | ||
OnAllowAddNewChanged | void | ||
OnAllowDeleteChanged | void | ||
OnCoerceAllowAddNewCallback | object | ||
OnCoerceAllowAddNewCallback | object | ||
OnCoerceAllowDeleteCallback | object | ||
OnCoerceAllowDeleteNewCallback | object | ||
OnMinMaxChanged | void | ||
OnTabStripPlacementChanged | void | ||
SetAddNewButtonVisibility | void | ||
SetTabItemsCloseButtonVisibility | void | ||
TabControl | System | ||
TabControl_MouseDoubleClick | void |
Метод | Описание | |
---|---|---|
CloneTabItem ( TabItem theTab ) : void | ||
CloseAllTabsButThis ( TabItem tabItem ) : void | ||
NewTab ( IListItemEx DefPath, bool IsNavigate ) : TabItem |
Creates a new tab, optionally selects it then erturns it
|
|
NewTab ( string Location, bool IsNavigate = false ) : TabItem |
Creates a new tab, optionally selects it then erturns it
|
|
NewTab ( ) : void | ||
OnApplyTemplate ( ) : void |
OnApplyTemplate override
|
|
RaiseTabClick ( TabItem tab ) : void |
Raises the OnTabClicked event if and only if tab is not nothing
|
|
ReOpenTab ( NavigationLog log ) : void |
Re-opens a previously closed tab using that tab's navigation log data then removes it from reopenabletabs.
|
|
RemoveTabItem ( TabItem tabItem, System.Boolean allowReopening = true, System.Boolean isCloseLastTab = false ) : void |
Called by a child Header that wants to remove itself by clicking on the close button
|
Метод | Описание | |
---|---|---|
GetContainerForItemOverride ( ) : |
GetContainerForItemOverride
|
|
IsItemItsOwnContainerOverride ( object item ) : bool |
IsItemItsOwnContainerOverride
|
|
OnItemsChanged ( |
||
OnItemsSourceChanged ( IEnumerable oldValue, IEnumerable newValue ) : void | ||
OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void | ||
OnSelectionChanged ( System.Windows.Controls.SelectionChangedEventArgs e ) : void |
Метод | Описание | |
---|---|---|
CoerceMaxHeight ( |
||
CoerceMaxWidth ( |
||
CoerceMinHeight ( |
||
CoerceMinWidth ( |
||
ContextMenuItem_Click ( object sender, |
Handle the MenuItem's Click event
|
|
DropdownButton_Checked ( object sender, |
Handle the ToggleButton Checked event that displays a context menu of Header Headers
|
|
GetItems ( ) : IEnumerable | ||
GetTabItem ( int index ) : TabItem | ||
GetTabsCount ( ) : int | ||
InternalChildren ( ) : IEnumerable | ||
OnAllowAddNewChanged ( |
||
OnAllowDeleteChanged ( |
||
OnCoerceAllowAddNewCallback ( |
||
OnCoerceAllowAddNewCallback ( object basevalue ) : object | ||
OnCoerceAllowDeleteCallback ( object basevalue ) : object | ||
OnCoerceAllowDeleteNewCallback ( |
||
OnMinMaxChanged ( |
OnMinMaxChanged callback responds to any of the Min/Max dependency properties changing
|
|
OnTabStripPlacementChanged ( |
OnTabStripPlacementChanged property callback We need to supplement the base implementation with this method as the base method does not work when we are using virtualization in the tabpanel, it only updates visible items |
|
SetAddNewButtonVisibility ( ) : void | ||
SetTabItemsCloseButtonVisibility ( ) : void | ||
TabControl ( ) : System | ||
TabControl_MouseDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void |
public CloneTabItem ( TabItem theTab ) : void | ||
theTab | TabItem | |
Результат | void |
public CloseAllTabsButThis ( TabItem tabItem ) : void | ||
tabItem | TabItem | |
Результат | void |
protected GetContainerForItemOverride ( ) : |
||
Результат |
protected IsItemItsOwnContainerOverride ( object item ) : bool | ||
item | object | |
Результат | bool |
public NewTab ( IListItemEx DefPath, bool IsNavigate ) : TabItem | ||
DefPath | IListItemEx | The |
IsNavigate | bool | Do you want the new tab to be selected? |
Результат | TabItem |
public NewTab ( string Location, bool IsNavigate = false ) : TabItem | ||
Location | string | The file path of the new Tab |
IsNavigate | bool | Do you want the new tab to be selected? |
Результат | TabItem |
protected OnItemsChanged ( |
||
e | ||
Результат | void |
protected OnItemsSourceChanged ( IEnumerable oldValue, IEnumerable newValue ) : void | ||
oldValue | IEnumerable | |
newValue | IEnumerable | |
Результат | void |
protected OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void | ||
e | System.Windows.Input.KeyEventArgs | |
Результат | void |
protected OnSelectionChanged ( System.Windows.Controls.SelectionChangedEventArgs e ) : void | ||
e | System.Windows.Controls.SelectionChangedEventArgs | |
Результат | void |
public RaiseTabClick ( TabItem tab ) : void | ||
tab | TabItem | The tab you want to raise the event on |
Результат | void |
public ReOpenTab ( NavigationLog log ) : void | ||
log | NavigationLog | The navigation log data from the previously closed tab. |
Результат | void |
public RemoveTabItem ( TabItem tabItem, System.Boolean allowReopening = true, System.Boolean isCloseLastTab = false ) : void | ||
tabItem | TabItem | |
allowReopening | System.Boolean | |
isCloseLastTab | System.Boolean | |
Результат | void |
public static DependencyProperty,System.Windows AddNewTabToEndProperty | ||
Результат |
public static DependencyProperty,System.Windows AllowAddNewProperty | ||
Результат |
public static DependencyProperty,System.Windows AllowDeleteProperty | ||
Результат |
public Action,System ConstructMoveToCopyToMenu | ||
Результат | System.Action |
public static DependencyProperty,System.Windows DefaultTabPathProperty | ||
Результат |
public static DependencyProperty,System.Windows IsUsingItemsSourceProperty | ||
Результат |
public static DependencyPropertyKey,System.Windows IsUsingItemsSourcePropertyKey | ||
Результат | System.Windows.DependencyPropertyKey |
public static DependencyProperty,System.Windows NotTabItemNormalBackgroundProperty | ||
Результат |
public static DependencyProperty,System.Windows SelectNewTabOnCreateProperty | ||
Результат |
public static DependencyProperty,System.Windows TabItemMaxHeightProperty | ||
Результат |
public static DependencyProperty,System.Windows TabItemMaxWidthProperty | ||
Результат |
public static DependencyProperty,System.Windows TabItemMinHeightProperty | ||
Результат |
public static DependencyProperty,System.Windows TabItemMinWidthProperty | ||
Результат |
public static DependencyProperty,System.Windows TabItemMouseOverBackgroundProperty | ||
Результат |
public static DependencyProperty,System.Windows TabItemNormalBackgroundProperty | ||
Результат |
public static DependencyProperty,System.Windows TabItemSelectedBackgroundProperty | ||
Результат |
public GiveFeedbackEventHandler newt_GiveFeedback | ||
Результат | GiveFeedbackEventHandler |
public MouseButtonEventHandler newt_PreviewMouseDown | ||
Результат | MouseButtonEventHandler |