Back to Devexpress

DateTimeOffsetEdit.DateTimeOffset Property

windowsforms-devexpress-dot-xtraeditors-dot-datetimeoffsetedit.md

latest1.6 KB
Original Source

DateTimeOffsetEdit.DateTimeOffset Property

Gets or sets the current DateTimeOffsetEdit editor value.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Appearance")]
public virtual DateTimeOffset DateTimeOffset { get; set; }
vb
<DXCategory("Appearance")>
Public Overridable Property DateTimeOffset As DateTimeOffset

Property Value

TypeDescription
DateTimeOffset

The current editor value.

|

Remarks

The sample below illustrates how to specify the DateTimeOffsetEdit editor value in code.

csharp
dateTimeOffsetEdit1.DateTimeOffset = DateTimeOffset.Now.AddDays(5);
vb
dateTimeOffsetEdit1.DateTimeOffset = DateTimeOffset.Now.AddDays(5)

See Also

DateTimeOffsetEdit Class

DateTimeOffsetEdit Members

DevExpress.XtraEditors Namespace