Click or drag to resize

PrimitiveExtension Class

XAML markup extension that allows to define primitive type values like Boolean or Int32.
Inheritance Hierarchy
SystemObject
  System.Windows.MarkupMarkupExtension
    BionicCode.Utilities.Net.Core.Wpf.MarkupPrimitiveExtension

Namespace:  BionicCode.Utilities.Net.Core.Wpf.Markup
Assembly:  BionicCode.Utilities.Net.Core.Wpf (in BionicCode.Utilities.Net.Core.Wpf.dll) Version: 1.0.2
Syntax
public class PrimitiveExtension : MarkupExtension

The PrimitiveExtension type exposes the following members.

Constructors
  NameDescription
Public methodPrimitiveExtension
Initializes a new instance of .
Public methodPrimitiveExtension(Boolean)
Initializes a new instance of .
Public methodPrimitiveExtension(Double)
Initializes a new instance of .
Public methodPrimitiveExtension(Int32)
Initializes a new instance of .
Public methodPrimitiveExtension(String)
Initializes a new instance of .
Top
Properties
  NameDescription
Public propertyBoolean
Holds a Boolean.
Public propertyDouble
Holds a Double.
Public propertyInt32
Holds a Int32.
Public propertyString
Holds a String.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProvideValue
When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.
(Overrides MarkupExtensionProvideValue(IServiceProvider).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
Remarks
Only allows a single value. In case multiple properties are set, the last set value will be used, as every value overrides the previously set.
See Also
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md