Table of Contents

Class DateTimeStringComponentAttribute

Namespace
Kentico.Xperience.Admin.Base.FormAnnotations
Assembly
Kentico.Xperience.Admin.Base.Shared.dll

Indicates that the DateTimeString form component will be used for displaying the property's value in the administration interface.

public sealed class DateTimeStringComponentAttribute : FormComponentAttribute
Inheritance
object
Attribute
DateTimeStringComponentAttribute
Inherited Members
Extension Methods

Remarks

The underlying property must be of the type System.DateTime or System.Nullable<System.DateTime>.

Properties

NullValueText

Represents a text displayed when the value is null. Defaults to '-'.

public string NullValueText { get; set; }

Property Value

string

ShowTimeZoneOffset

Indicates whether the time zone offset should be displayed (e.g. GMT±HH:MM). Defaults to true.

public bool ShowTimeZoneOffset { get; set; }

Property Value

bool