Back to Devexpress

FormatRuleBase.Tag Property

windowsforms-devexpress-dot-xtraeditors-dot-formatrulebase-5f5ff32d.md

latest1.8 KB
Original Source

FormatRuleBase.Tag Property

SECURITY-RELATED CONSIDERATIONS

Deserializing layout settings from untrusted resources may create security issues. Serializable System.Object properties that contain custom type values are not (de)serialized automatically. Review the following help topic for information on how to (de)serialize custom type values: Safe Deserialization.

Gets or sets custom data associated with the current FormatRuleBase object.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Data")]
[XtraSerializableProperty]
public object Tag { get; set; }
vb
<DefaultValue(Nothing)>
<DXCategory("Data")>
<XtraSerializableProperty>
Public Property Tag As Object

Property Value

TypeDefaultDescription
Objectnull

Custom data associated with the current FormatRuleBase object.

|

Remarks

Use the Tag property to associate custom data with FormatRuleBase objects.

See Also

FormatRuleBase Class

FormatRuleBase Members

DevExpress.XtraEditors Namespace