Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GroupLabel.cs
- IERequestCache.cs
- StreamGeometry.cs
- GlyphRunDrawing.cs
- BStrWrapper.cs
- SingleTagSectionHandler.cs
- ContourSegment.cs
- HttpApplicationStateBase.cs
- ProfileManager.cs
- CacheAxisQuery.cs
- ReachDocumentReferenceSerializerAsync.cs
- PlanCompiler.cs
- MainMenu.cs
- DataTemplateKey.cs
- ItemCheckEvent.cs
- ConsoleCancelEventArgs.cs
- StorageEntityTypeMapping.cs
- SafeViewOfFileHandle.cs
- CollectionEditorDialog.cs
- OutOfProcStateClientManager.cs
- columnmapkeybuilder.cs
- RotateTransform.cs
- DataGridViewRowsAddedEventArgs.cs
- ToolStripContentPanel.cs
- PropertyFilterAttribute.cs
- Substitution.cs
- PropertyGeneratedEventArgs.cs
- AuthenticationServiceManager.cs
- path.cs
- CompositeControl.cs
- HttpModuleActionCollection.cs
- ConnectionsZone.cs
- DriveInfo.cs
- HorizontalAlignConverter.cs
- PrintEvent.cs
- NullReferenceException.cs
- SoapProcessingBehavior.cs
- altserialization.cs
- WebPartRestoreVerb.cs
- PropertyEmitterBase.cs
- ToolStripItemDesigner.cs
- PageTheme.cs
- WCFModelStrings.Designer.cs
- PageHandlerFactory.cs
- RoutedUICommand.cs
- PublishLicense.cs
- StorageComplexTypeMapping.cs
- SelectedGridItemChangedEvent.cs
- BitmapEffectInputData.cs
- VirtualDirectoryMappingCollection.cs
- PointUtil.cs
- XmlValidatingReader.cs
- QueryableFilterRepeater.cs
- BinaryFormatterWriter.cs
- MatrixUtil.cs
- StorageComplexTypeMapping.cs
- ControlPropertyNameConverter.cs
- UIHelper.cs
- InputProcessorProfilesLoader.cs
- CFStream.cs
- OleDbErrorCollection.cs
- XmlSerializerFaultFormatter.cs
- IPHostEntry.cs
- StorageEntitySetMapping.cs
- Style.cs
- versioninfo.cs
- ArraySubsetEnumerator.cs
- DataGridViewHitTestInfo.cs
- EntityClientCacheEntry.cs
- __Error.cs
- EventLogEntryCollection.cs
- JoinElimination.cs
- IsolatedStorageFile.cs
- WindowsListView.cs
- CallbackValidatorAttribute.cs
- TableDetailsRow.cs
- DbMetaDataFactory.cs
- OutputCacheSection.cs
- ProcessModelInfo.cs
- BreakRecordTable.cs
- GestureRecognizer.cs
- XmlHierarchicalEnumerable.cs
- ColumnResult.cs
- RuntimeHandles.cs
- LocalValueEnumerator.cs
- DecimalStorage.cs
- XmlTypeAttribute.cs
- RegularExpressionValidator.cs
- TableHeaderCell.cs
- Font.cs
- PathData.cs
- HttpWebResponse.cs
- ELinqQueryState.cs
- Stack.cs
- EndOfStreamException.cs
- UTF8Encoding.cs
- ExtendedPropertyDescriptor.cs
- MediaEntryAttribute.cs
- MenuItemStyle.cs
- KerberosRequestorSecurityTokenAuthenticator.cs