Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Markup / NullExtension.cs / 1 / NullExtension.cs
/****************************************************************************\ * * File: NullExtension.cs * * Class for Xaml markup extension {Null} * * Copyright (C) 2004 by Microsoft Corporation. All rights reserved. * \***************************************************************************/ using System; using System.Windows; namespace System.Windows.Markup { ////// Class for Xaml markup extension for Null. /// [MarkupExtensionReturnType(typeof(object))] public class NullExtension : MarkupExtension { ////// Default constructor /// public NullExtension() { } ////// Return an object that should be set on the targetObject's targetProperty /// for this markup extension. In this case it is simply null. /// /// Object that can provide services for the markup extension. ////// The object to set on this property. /// public override object ProvideValue(IServiceProvider serviceProvider) { return null; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TabPageDesigner.cs
- NativeCompoundFileAPIs.cs
- Types.cs
- RectConverter.cs
- DefaultPropertyAttribute.cs
- XdrBuilder.cs
- IndividualDeviceConfig.cs
- BitmapEffectRenderDataResource.cs
- ChangePassword.cs
- FormatException.cs
- dataprotectionpermissionattribute.cs
- MailSettingsSection.cs
- _TLSstream.cs
- HttpCacheVary.cs
- DataGridViewSortCompareEventArgs.cs
- XpsFilter.cs
- StreamInfo.cs
- RTTrackingProfile.cs
- NativeMethods.cs
- ReaderContextStackData.cs
- StructuralType.cs
- ContextMenuStripGroup.cs
- MachineKeyConverter.cs
- ColumnMap.cs
- SafeLibraryHandle.cs
- UIElementParaClient.cs
- XPathConvert.cs
- IImplicitResourceProvider.cs
- HttpRuntimeSection.cs
- GenericRootAutomationPeer.cs
- CompiledIdentityConstraint.cs
- ELinqQueryState.cs
- Repeater.cs
- EpmSourceTree.cs
- Mappings.cs
- OlePropertyStructs.cs
- DeleteIndexBinder.cs
- TextParaLineResult.cs
- DbConnectionClosed.cs
- CatalogPartChrome.cs
- XmlException.cs
- ToolStripDesignerAvailabilityAttribute.cs
- XPathDocumentNavigator.cs
- CroppedBitmap.cs
- FontFamilyIdentifier.cs
- ChannelServices.cs
- XmlSchemaValidationException.cs
- InputReport.cs
- NativeConfigurationLoader.cs
- InputMethod.cs
- UserPreferenceChangedEventArgs.cs
- AssemblyNameProxy.cs
- Matrix.cs
- Content.cs
- Console.cs
- EntityType.cs
- Int32Collection.cs
- PersonalizablePropertyEntry.cs
- VideoDrawing.cs
- XmlUtf8RawTextWriter.cs
- ProxyWebPartManager.cs
- _DigestClient.cs
- StateChangeEvent.cs
- CodeExporter.cs
- StorageConditionPropertyMapping.cs
- DropTarget.cs
- MenuItemStyle.cs
- SendKeys.cs
- Number.cs
- XmlSchemaComplexContentRestriction.cs
- PlainXmlDeserializer.cs
- Binding.cs
- TrimSurroundingWhitespaceAttribute.cs
- DependencyProperty.cs
- filewebrequest.cs
- StateItem.cs
- InputLanguageManager.cs
- TypeConverterHelper.cs
- TraceXPathNavigator.cs
- RegexWriter.cs
- LiteralLink.cs
- CachedRequestParams.cs
- SystemIcmpV6Statistics.cs
- StoragePropertyMapping.cs
- SubclassTypeValidatorAttribute.cs
- LocalizableResourceBuilder.cs
- ModuleConfigurationInfo.cs
- XmlReturnWriter.cs
- NameScopePropertyAttribute.cs
- PolicyChain.cs
- RuntimeConfig.cs
- LinqTreeNodeEvaluator.cs
- GenericParameterDataContract.cs
- SoapAttributes.cs
- WindowsTooltip.cs
- StylusPointPropertyInfoDefaults.cs
- SqlDataReaderSmi.cs
- CqlParserHelpers.cs
- MessageDecoder.cs
- JournalEntry.cs