Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / 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. /****************************************************************************\ * * 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AttributeEmitter.cs
- DataFormat.cs
- BaseUriHelper.cs
- PartitionResolver.cs
- pingexception.cs
- PersonalizationProviderHelper.cs
- KeyNotFoundException.cs
- WebEncodingValidatorAttribute.cs
- Binding.cs
- SqlDataAdapter.cs
- Processor.cs
- Label.cs
- UnsettableComboBox.cs
- SchemaTableOptionalColumn.cs
- DataRecordInternal.cs
- StandardCommands.cs
- InteropBitmapSource.cs
- ApplicationServicesHostFactory.cs
- Metafile.cs
- PropertyPathWorker.cs
- Stylesheet.cs
- ExpressionBuilderCollection.cs
- EntityStoreSchemaFilterEntry.cs
- EmbossBitmapEffect.cs
- MouseEvent.cs
- FrameworkPropertyMetadata.cs
- IndexedEnumerable.cs
- ServicesUtilities.cs
- MeasureData.cs
- SynchronizationContext.cs
- CallContext.cs
- SqlDelegatedTransaction.cs
- CollectionViewGroupRoot.cs
- PropertyToken.cs
- MapPathBasedVirtualPathProvider.cs
- PropertySourceInfo.cs
- DeploymentSectionCache.cs
- Image.cs
- Win32NamedPipes.cs
- MarkupExtensionParser.cs
- LinkedResourceCollection.cs
- XmlExpressionDumper.cs
- XmlAttribute.cs
- DataObject.cs
- ObjectItemCollection.cs
- XmlSchemas.cs
- WebPartDescriptionCollection.cs
- IdnElement.cs
- TextWriterTraceListener.cs
- PropertyMap.cs
- ParenthesizePropertyNameAttribute.cs
- VarRemapper.cs
- JulianCalendar.cs
- TimeSpanValidator.cs
- TextEditorContextMenu.cs
- SocketException.cs
- SizeFConverter.cs
- HWStack.cs
- ServiceActivationException.cs
- AdornedElementPlaceholder.cs
- FlowDocumentScrollViewer.cs
- CodeGroup.cs
- VectorConverter.cs
- WebPartEditorApplyVerb.cs
- KoreanLunisolarCalendar.cs
- DelegateArgument.cs
- ToolboxCategoryItems.cs
- DynamicPropertyReader.cs
- SemanticKeyElement.cs
- QueryParameter.cs
- QueryCacheManager.cs
- TypefaceCollection.cs
- ExtenderProvidedPropertyAttribute.cs
- MetadataReference.cs
- Popup.cs
- SupportsEventValidationAttribute.cs
- PerspectiveCamera.cs
- TextBoxRenderer.cs
- PersonalizationState.cs
- QueryPageSettingsEventArgs.cs
- UInt64.cs
- NameValueConfigurationCollection.cs
- MdiWindowListStrip.cs
- FlowLayoutPanel.cs
- DoubleIndependentAnimationStorage.cs
- BehaviorEditorPart.cs
- InvalidCastException.cs
- MatrixValueSerializer.cs
- HyperLinkStyle.cs
- XmlComment.cs
- CompilationLock.cs
- ReferenceConverter.cs
- WebZone.cs
- Font.cs
- ConfigurationSection.cs
- BitHelper.cs
- StyleXamlParser.cs
- InternalSafeNativeMethods.cs
- TextWriter.cs
- ResXFileRef.cs