Edit

Share via


XData Class

Definition

Represents literal data that can appear as the value for a Value node.

public ref class XData sealed
[System.Windows.Markup.ContentProperty("Text")]
public sealed class XData
[<System.Windows.Markup.ContentProperty("Text")>]
type XData = class
Public NotInheritable Class XData
Inheritance
XData
Attributes

Remarks

Text is the XAML content property for XData. To read values from out of a XAML node stream where XData is returned, get the Text property value.

Encoding considerations are declared at top-level XML, and are generally UTF-8 by default.

Constructors

XData()

Initializes a new instance of the XData class.

Properties

Text

Gets or sets the literal value string that this XData wraps.

XmlReader

Gets or sets a reader for the literal data.

Methods

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()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also