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
- ExplicitDiscriminatorMap.cs
- SpecularMaterial.cs
- MessageSecurityOverMsmq.cs
- FocusChangedEventArgs.cs
- NumberFormatInfo.cs
- SimpleRecyclingCache.cs
- followingquery.cs
- TextBoxLine.cs
- SupportedAddressingMode.cs
- StaticSiteMapProvider.cs
- CollaborationHelperFunctions.cs
- IgnoreSection.cs
- ITextView.cs
- GridViewDeleteEventArgs.cs
- EntityTemplateUserControl.cs
- MetaModel.cs
- MLangCodePageEncoding.cs
- ZipIOLocalFileBlock.cs
- ManagedWndProcTracker.cs
- ContentPresenter.cs
- XPathQilFactory.cs
- RuleSettings.cs
- ChtmlCalendarAdapter.cs
- HMACSHA512.cs
- XPathSelectionIterator.cs
- Keywords.cs
- PickBranch.cs
- UpDownBase.cs
- MessageQueuePermissionEntryCollection.cs
- SQLRoleProvider.cs
- StylusPointProperties.cs
- StylusCaptureWithinProperty.cs
- ItemList.cs
- PeerToPeerException.cs
- OdbcConnectionStringbuilder.cs
- UserControlFileEditor.cs
- StateBag.cs
- TemplateFactory.cs
- HtmlToClrEventProxy.cs
- MexTcpBindingCollectionElement.cs
- PreApplicationStartMethodAttribute.cs
- Cursor.cs
- SamlAttribute.cs
- XmlDocumentFieldSchema.cs
- HostnameComparisonMode.cs
- FullTextLine.cs
- GridViewUpdateEventArgs.cs
- TrackingServices.cs
- DataGridViewTextBoxCell.cs
- Splitter.cs
- XmlWhitespace.cs
- HttpHandlersSection.cs
- LocalizableResourceBuilder.cs
- DatagridviewDisplayedBandsData.cs
- CopyNodeSetAction.cs
- FacetChecker.cs
- SourceSwitch.cs
- QueryExecutionOption.cs
- GregorianCalendar.cs
- ServiceThrottlingBehavior.cs
- Rotation3D.cs
- TraceListener.cs
- Oid.cs
- SequentialUshortCollection.cs
- IconConverter.cs
- BinaryObjectReader.cs
- basenumberconverter.cs
- GradientSpreadMethodValidation.cs
- AnimatedTypeHelpers.cs
- TextHidden.cs
- ComponentEvent.cs
- DataSourceSelectArguments.cs
- DirectionalLight.cs
- SourceChangedEventArgs.cs
- InstancePersistence.cs
- MsmqChannelFactory.cs
- StandardMenuStripVerb.cs
- Int32.cs
- AuthenticationConfig.cs
- OrderingInfo.cs
- WebPartsSection.cs
- SettingsSavedEventArgs.cs
- PathSegment.cs
- SqlMethodCallConverter.cs
- XmlBinaryReader.cs
- CaseInsensitiveHashCodeProvider.cs
- PassportAuthenticationModule.cs
- SQLDateTime.cs
- Sql8ConformanceChecker.cs
- RouteTable.cs
- UnsafeNativeMethods.cs
- FontFamilyConverter.cs
- MediaContextNotificationWindow.cs
- DataSetMappper.cs
- Point3DKeyFrameCollection.cs
- UInt16Converter.cs
- InputLanguageManager.cs
- DateTimeUtil.cs
- NotFiniteNumberException.cs
- OdbcDataAdapter.cs