-
Notifications
You must be signed in to change notification settings - Fork 3
Utils.TabItemDropEventArgs
JaykeBird edited this page Feb 21, 2023
·
6 revisions
Back to home | Back to Reference | View raw text
Event arguments for a TabItem being dropped onto a TabControl. Primarily used internally.
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SolidShineUi.Utils
SolidShineUi.Utils.TabItemDropEventArgs[[TabItemDropEventArgs]]
end
Type | Name | Methods |
---|---|---|
bool |
Before Get whether the dropped TabItem should be put before or after the source TabItem. (Please use TabItemDropEventArgs.PlaceBefore instead, as this property will be removed in the future.) |
get |
TabItem |
DroppedTabItem Get the TabItem that is being dropped. |
get |
bool |
PlaceBefore Get whether the dropped TabItem should be put before or after the source TabItem. |
get |
TabItem |
SourceTabItem Get the TabItem that triggered the TabItemDrop event. |
get |
Event arguments for a TabItem being dropped onto a TabControl. Primarily used internally.
public TabItemDropEventArgs(TabItem sourceTabItem, TabItem droppedTabItem, bool before)
Type | Name | Description |
---|---|---|
TabItem |
sourceTabItem | The tab item that triggered the event. |
TabItem |
droppedTabItem | The tab item to be dropped. |
bool |
before | Determine whether to drop the droppedTabItem before or after the sourceTabItem . |
Create a TabItemDropEventArgs.
public TabItem SourceTabItem { get; }
Get the TabItem that triggered the TabItemDrop event.
public TabItem DroppedTabItem { get; }
Get the TabItem that is being dropped.
public bool Before { get; }
Get whether the dropped TabItem should be put before or after the source TabItem. (Please use TabItemDropEventArgs.PlaceBefore instead, as this property will be removed in the future.)
public bool PlaceBefore { get; }
Get whether the dropped TabItem should be put before or after the source TabItem.
Generated with ModularDoc