Class WarnBeforeEditingAttribute
Inheritance
WarnBeforeEditingAttribute
Syntax
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class WarnBeforeEditingAttribute : Attribute, _Attribute
Constructors
WarnBeforeEditingAttribute(String, String)
Declaration
public WarnBeforeEditingAttribute(string warningTitle, string warningMessage)
Parameters
Type |
Name |
Description |
String |
warningTitle |
|
String |
warningMessage |
|
WarnBeforeEditingAttribute(String, String, Object[])
Declaration
public WarnBeforeEditingAttribute(string warningTitle, string warningMessage, params object[] emptyValues)
Parameters
Properties
emptyValues
Declaration
public object[] emptyValues { get; }
Property Value
warningMessage
Declaration
public string warningMessage { get; }
Property Value
warningTitle
Declaration
public string warningTitle { get; }
Property Value
Extension Methods