Show / Hide Table of Contents

Class NullExtension

In XAML markup, specifies a null value for a property.

Inheritance
System.Object
MarkupExtension
NullExtension
Implements
IMarkupExtension<System.Object>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Markup
Assembly: OpenSilver.dll
Syntax
public class NullExtension : MarkupExtension, IMarkupExtension<object>

Constructors

| Improve this Doc View Source

NullExtension()

Initializes a new instance of NullExtension.

Declaration
public NullExtension()

Methods

| Improve this Doc View Source

ProvideValue(IServiceProvider)

Declaration
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters
Type Name Description
System.IServiceProvider serviceProvider
Returns
Type Description
System.Object
Overrides
MarkupExtension.ProvideValue(IServiceProvider)

Implements

IMarkupExtension<T>
  • Improve this Doc
  • View Source