Provides null to use as a value when you set property values in XAML.
Assembly: PresentationFramework (in PresentationFramework.dll)
- Type: System.IServiceProvider
An object that can provide services for the markup extension.
Return ValueType: System.Object
A null reference (Nothing in Visual Basic).
This method supports WPF XAML processor implementation, and is not intended to be called directly. The XAML processor implementation uses this method to correctly handle x:Null extension values during object creation.
This implementation does not rely on services that are based on the passed serviceProvider, you can pass null for that parameter. The extension always returns null as a value regardless of the service context and regardless which property is being set.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003