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
- PrintPreviewDialog.cs
- ChangeDirector.cs
- NumberSubstitution.cs
- Attributes.cs
- SecurityRuntime.cs
- KeyboardEventArgs.cs
- SizeChangedInfo.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- StreamUpgradeAcceptor.cs
- StringPropertyBuilder.cs
- Run.cs
- HttpCacheVary.cs
- ConfigXmlDocument.cs
- DataTableMapping.cs
- SiteMembershipCondition.cs
- NetCodeGroup.cs
- HttpHostedTransportConfiguration.cs
- Crc32.cs
- serverconfig.cs
- MouseEventArgs.cs
- Triangle.cs
- DataGridPageChangedEventArgs.cs
- LinqDataSourceDisposeEventArgs.cs
- CodeSnippetExpression.cs
- ApplyImportsAction.cs
- MinMaxParagraphWidth.cs
- StylusTip.cs
- WebPartVerb.cs
- XmlMessageFormatter.cs
- JpegBitmapDecoder.cs
- DesignerActionItemCollection.cs
- RangeValidator.cs
- MemoryFailPoint.cs
- GridViewSortEventArgs.cs
- UrlAuthFailedErrorFormatter.cs
- MaterialCollection.cs
- DefaultAuthorizationContext.cs
- SynchronizationContext.cs
- DataGridColumn.cs
- DebugController.cs
- ColumnBinding.cs
- TrackingExtract.cs
- PasswordBox.cs
- StatusBarItemAutomationPeer.cs
- RequestSecurityToken.cs
- ContextStack.cs
- DoubleAnimationBase.cs
- UnionQueryOperator.cs
- OdbcParameter.cs
- DesignerCapabilities.cs
- ConnectionsZone.cs
- Variable.cs
- MenuBindingsEditorForm.cs
- ColorPalette.cs
- SectionRecord.cs
- SqlBuilder.cs
- RecordsAffectedEventArgs.cs
- smtpconnection.cs
- ScrollEvent.cs
- ValidatingPropertiesEventArgs.cs
- NotifyIcon.cs
- WebPartEditVerb.cs
- SrgsSemanticInterpretationTag.cs
- SingleAnimationUsingKeyFrames.cs
- OleDbParameterCollection.cs
- DBDataPermission.cs
- Validator.cs
- ToolStripItemRenderEventArgs.cs
- LockedAssemblyCache.cs
- TimeIntervalCollection.cs
- QueryPrefixOp.cs
- AddInSegmentDirectoryNotFoundException.cs
- SelectionHighlightInfo.cs
- RowsCopiedEventArgs.cs
- PropertyItem.cs
- PropertyInformation.cs
- EmbeddedMailObjectCollectionEditor.cs
- BindableTemplateBuilder.cs
- SHA256Managed.cs
- LineProperties.cs
- StreamInfo.cs
- DataSysAttribute.cs
- EventWaitHandle.cs
- CalendarDayButton.cs
- Properties.cs
- DefaultTraceListener.cs
- FieldNameLookup.cs
- AbsoluteQuery.cs
- GrammarBuilderBase.cs
- MetadataFile.cs
- UserControlBuildProvider.cs
- Graph.cs
- ModelItemDictionaryImpl.cs
- DataGridAutoFormatDialog.cs
- BamlRecordReader.cs
- DatatypeImplementation.cs
- baseaxisquery.cs
- QueryOperatorEnumerator.cs
- DesignerActionMethodItem.cs
- Speller.cs