Back to Devexpress

StaticTextViewItem Members

expressappframework-devexpress-dot-expressapp-dot-win-dot-editors-dot-statictextviewitem-dot-underscore-members.md

latest10.0 KB
Original Source

StaticTextViewItem Members

The Static Text View Item used in XAF Windows Forms applications.

Constructors

NameDescription
StaticTextViewItem(Type, IModelStaticText)Creates and initializes a new instance of the StaticTextViewItem class.

Properties

NameDescription
CaptionReturns the current View Item‘s caption. Inherited from StaticText.
ControlReturns the current View Item’s control displayed in a UI. Inherited from ViewItem.
CurrentObjectSpecifies the object for which the current View Item’s View is created. Inherited from ViewItem.
IdGets the identifier of the current View Item. Inherited from ViewItem.
IsCaptionVisibleIndicates whether the StaticText.Caption of the current View Item should be visible. Inherited from StaticText.
IsDisposedInherited from ViewItem.
LabelGets the StaticTextViewItem‘s label control.
ModelProvides access to the Application Model‘s Item node that defines the current Static Text View Item. Inherited from StaticText.
ObjectTypeSpecifies the type of object for which the current View Item’s View is created. Inherited from ViewItem.
ObjectTypeInfoProvides access to the information on the type of the object which is represented by the current View Item’s View. Inherited from ViewItem.
TextSpecifies the caption displayed by the Static Text View Item. Inherited from StaticText.
ViewSpecifies the Detail View that contains the current View Item. Inherited from ViewItem.

Methods

NameDescription
BreakLinksToControl(Boolean)Unsubscribes from the control’s events and, depending on the parameter, also disposes of the control and removes the link to the control. Inherited from ViewItem.
CreateControl()Creates a control that represents the current View Item in a UI. Inherited from ViewItem.
Dispose()Releases all resources used by this ViewItem object. Inherited from ViewItem.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Refresh()Refreshes the current View Item. Inherited from ViewItem.
Refresh(Boolean)Refreshes the current View Item. Optionally, refreshes the View Item’s data source. Inherited from ViewItem.
RefreshDataSource()Refreshes the data source of the current ViewItem. Inherited from ViewItem.
SaveModel()Saves the required information on the current state of the View Item to the Application Model. Inherited from ViewItem.
SetHtmlFormattingEnabled(Boolean)Enables the HTML formatting for the current StaticTextViewItem.
ToString()Returns a string that represents the current object. Inherited from Object.

Events

NameDescription
ControlCreatedOccurs after a control has been created for the current View Item. Inherited from ViewItem.
ControlCreatingOccurs before a control is created for the current View Item. Inherited from ViewItem.
CurrentObjectChangedOccurs after changing the object (not an object’s property value) for which the current View Item’s View is created. Inherited from ViewItem.
CurrentObjectChangingOccurs before changing the object for which the current View Item’s View is created. Inherited from ViewItem.
VisibilityChangedFor internal use. Inherited from StaticText.

See Also

StaticTextViewItem Class

DevExpress.ExpressApp.Win.Editors Namespace