Skip to content

TabItemClosingEventArgs

JaykeBird edited this page Feb 21, 2023 · 6 revisions

Back to home | Back to Reference | View raw text

TabItemClosingEventArgs class

Description

Event arguments for the TabClosing event in TabControl.

Diagram

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

Members

Properties

Public properties

Type Name Methods
bool Cancel
Get or set if this operation should be cancelled. If true , this tab will not be closed and removed from the TabControl.
get, set
TabItem TabItem
The TabItem being closed (and removed from the TabControl).
get

Details

Summary

Event arguments for the TabClosing event in TabControl.

Constructors

TabItemClosingEventArgs

public TabItemClosingEventArgs(TabItem t)
Arguments
Type Name Description
TabItem t The tab item being closed.
Summary

Create a TabItemClosingEventArgs.

Properties

TabItem

public TabItem TabItem { get; }
Summary

The TabItem being closed (and removed from the TabControl).

Cancel

public bool Cancel { get; set; }
Summary

Get or set if this operation should be cancelled. If true , this tab will not be closed and removed from the TabControl.

Generated with ModularDoc

Clone this wiki locally