XElement class
Base class for any elements used in EasyQuery
public class Korzh.EasyQuery.Wpf.XElement : ControlPackage: Korzh.EasyQuery.Wpf (targets: net461, net5.0-windows7.0, netcoreapp3.1)
Assembly: Korzh.EasyQuery.WPF.dll
Constructors
Section titled “Constructors”| Name | Type | Description |
|---|---|---|
| XElement() | void |
Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| Data | string | Gets or sets the additional data associated with element. |
| SubType | string | Gets or sets the subtype. |
| Text | string | Gets or sets the text. |
| Value | string | Gets or sets the value. When value is changed an XElement.ValueChangedEvent is raised |
Events
Section titled “Events”| Name | Type | Description |
|---|---|---|
| ValueChanged | RoutedEventHandler | Occurs when value is changed |
Methods
Section titled “Methods”| Name | Type | Description |
|---|---|---|
ParseXmlNode(XmlNode node) | void | Parses the XML node. |
Static Fields
Section titled “Static Fields”| Name | Type | Description |
|---|---|---|
| SubTypeProperty | DependencyProperty | Identifies the Korzh.EasyQuery.Wpf.XElement.SubType dependency property |
| TextProperty | DependencyProperty | Identifies the Korzh.EasyQuery.Wpf.XElement.Text dependency property |
| ValueChangedEvent | RoutedEvent | Identifies the Korzh.EasyQuery.Wpf.XElement.ValueChanged routed event |
| ValueProperty | DependencyProperty | Identifies the Korzh.EasyQuery.Wpf.XElement.Value dependency property |
Static Properties
Section titled “Static Properties”| Name | Type | Description |
|---|---|---|
| EmptyText | string | Gets or sets the string which is shown instead of String.Empty. |
Static Methods
Section titled “Static Methods”| Name | Type | Description |
|---|---|---|
Create(string tagName) | XElement | Creates Korzh.EasyQuery.Wpf.XElement with the specified tag name. |
| Register(IXElementCreator creator) | void | Registers the specified Korzh.EasyQuery.Wpf.IXElementCreator. |