Skip to content

Utils.ItemAddingStringEventArgs

JaykeBird edited this page Feb 21, 2023 · 5 revisions

Back to home | Back to Reference | View raw text

ItemAddingStringEventArgs class

Description

The event arguments for the ItemAdding event of the LimitableStringCollection.

Diagram

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

Members

Properties

Public properties

Type Name Methods
bool Cancel
Get or set whether the addition of this item should be cancelled. By default, this is set to false , as in "do not cancel".
get, set
string Item
Get the item about to be added.
get

Details

Summary

The event arguments for the ItemAdding event of the LimitableStringCollection.

Inheritance

  • EventArgs

Constructors

ItemAddingStringEventArgs

public ItemAddingStringEventArgs(string item)
Arguments
Type Name Description
string item The item about to be added.
Summary

Create an ItemAddingStringEventArgs.

Properties

Item

public string Item { get; }
Summary

Get the item about to be added.

Cancel

public bool Cancel { get; set; }
Summary

Get or set whether the addition of this item should be cancelled. By default, this is set to false , as in "do not cancel".

Generated with ModularDoc

Clone this wiki locally