Skip to content

Utils.TabItemDropEventArgs

JaykeBird edited this page Feb 21, 2023 · 6 revisions

Back to home | Back to Reference | View raw text

TabItemDropEventArgs class

Description

Event arguments for a TabItem being dropped onto a TabControl. Primarily used internally.

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph SolidShineUi.Utils
  SolidShineUi.Utils.TabItemDropEventArgs[[TabItemDropEventArgs]]
  end
Loading

Members

Properties

Public properties

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

Details

Summary

Event arguments for a TabItem being dropped onto a TabControl. Primarily used internally.

Constructors

TabItemDropEventArgs

public TabItemDropEventArgs(TabItem sourceTabItem, TabItem droppedTabItem, bool before)
Arguments
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 .
Summary

Create a TabItemDropEventArgs.

Properties

SourceTabItem

public TabItem SourceTabItem { get; }
Summary

Get the TabItem that triggered the TabItemDrop event.

DroppedTabItem

public TabItem DroppedTabItem { get; }
Summary

Get the TabItem that is being dropped.

Before

public bool Before { get; }
Summary

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.)

PlaceBefore

public bool PlaceBefore { get; }
Summary

Get whether the dropped TabItem should be put before or after the source TabItem.

Generated with ModularDoc

Clone this wiki locally