Class ContentControlProperties
Stores editable properties of a content control.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class ContentControlProperties
Properties
Checked
Gets or sets the checked state of a checkbox control.
Declaration
public bool Checked { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Date
Gets or sets the date value used by a date control.
Declaration
public DateTime? Date { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
DateFormat
Gets or sets the date display format.
Declaration
public string DateFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IsTemporary
Gets or sets whether the control is temporary.
Declaration
public bool IsTemporary { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Language
Gets or sets the date locale identifier.
Declaration
public string Language { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LastValue
Gets or sets last selected list.
Declaration
public string LastValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ListItems
Gets the selectable items for a combo-box or drop-down-list control.
Declaration
public IList<ContentControlListItem> ListItems { get; }
Property Value
| Type | Description |
|---|---|
| IList<ContentControlListItem> |
LockContents
Gets or sets whether the control contents are locked.
Declaration
public bool LockContents { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LockDeleting
Gets or sets whether the control cannot be deleted.
Declaration
public bool LockDeleting { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LockEditing
Gets or sets whether the control contents cannot be edited.
Declaration
public bool LockEditing { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Multiline
Gets or sets whether a plain-text control accepts multiple lines.
Declaration
public bool Multiline { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
PlaceholderText
Gets or sets placeholder text for the control.
Declaration
public string PlaceholderText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ShowingPlaceholderText
Gets or sets whether placeholder text is currently shown.
Declaration
public bool ShowingPlaceholderText { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Tag
Gets or sets the control tag.
Declaration
public string Tag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Title
Gets or sets the control title.
Declaration
public string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |