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
- ControlParameter.cs
- OdbcPermission.cs
- Typeface.cs
- ArrayTypeMismatchException.cs
- ResourcesBuildProvider.cs
- BooleanExpr.cs
- PeerTransportElement.cs
- GridViewPageEventArgs.cs
- ExpressionCopier.cs
- FloatAverageAggregationOperator.cs
- Module.cs
- AuthStoreRoleProvider.cs
- AppearanceEditorPart.cs
- ParserStack.cs
- XhtmlBasicLabelAdapter.cs
- HttpRequestCacheValidator.cs
- WebBrowserBase.cs
- TemplateBuilder.cs
- HtmlElementErrorEventArgs.cs
- XmlCharCheckingReader.cs
- BuildResultCache.cs
- EntityDataSourceChangedEventArgs.cs
- DefaultBinder.cs
- IsolatedStorageFile.cs
- CompoundFileStreamReference.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- StringExpressionSet.cs
- prefixendpointaddressmessagefiltertable.cs
- TextAction.cs
- MappingItemCollection.cs
- ConfigXmlComment.cs
- ClosableStream.cs
- MimeParameterWriter.cs
- ColorInterpolationModeValidation.cs
- GeometryCombineModeValidation.cs
- CodeArrayCreateExpression.cs
- ObjectDataSource.cs
- ApplicationManager.cs
- SerializerProvider.cs
- HttpChannelHelper.cs
- SHA384.cs
- XPathDescendantIterator.cs
- _SslStream.cs
- PropertyGroupDescription.cs
- XmlChildEnumerator.cs
- GeneralTransform2DTo3D.cs
- TrackBarRenderer.cs
- TileBrush.cs
- DataGridColumnCollection.cs
- AnimationStorage.cs
- WebPartManager.cs
- Crc32.cs
- OperationInvokerBehavior.cs
- AnonymousIdentificationSection.cs
- TargetParameterCountException.cs
- ClientUtils.cs
- ListenerSessionConnection.cs
- ToolStripLabel.cs
- Internal.cs
- RequestStatusBarUpdateEventArgs.cs
- CollectionChangedEventManager.cs
- Menu.cs
- UriWriter.cs
- FormatterConverter.cs
- ToolStripItem.cs
- DeferredReference.cs
- AppDomainFactory.cs
- DragEventArgs.cs
- UTF32Encoding.cs
- ProviderUtil.cs
- SimpleType.cs
- GenerateHelper.cs
- ActivityExecutionContextCollection.cs
- SubstitutionList.cs
- DataServiceBehavior.cs
- DataSourceProvider.cs
- XNameTypeConverter.cs
- SafeArrayTypeMismatchException.cs
- DataSourceHelper.cs
- WhitespaceRule.cs
- DataGridCellItemAutomationPeer.cs
- RepeaterDesigner.cs
- TimersDescriptionAttribute.cs
- SQLBinaryStorage.cs
- BitmapEffectDrawing.cs
- Wizard.cs
- SqlRowUpdatingEvent.cs
- Rotation3DAnimationBase.cs
- PrtCap_Reader.cs
- DefaultEventAttribute.cs
- unsafeIndexingFilterStream.cs
- OpenFileDialog.cs
- FileChangesMonitor.cs
- CfgParser.cs
- QuaternionAnimationBase.cs
- RegionData.cs
- ObjectFullSpanRewriter.cs
- InteropEnvironment.cs
- Point4DConverter.cs
- DBSchemaTable.cs