Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- _SslState.cs
- Wizard.cs
- WebPartEditorApplyVerb.cs
- WebDescriptionAttribute.cs
- DataTableClearEvent.cs
- EditorZone.cs
- ChildDocumentBlock.cs
- DataTableMapping.cs
- DecoderReplacementFallback.cs
- StringToken.cs
- ObjectStateEntryDbDataRecord.cs
- DateTimeValueSerializerContext.cs
- RegexInterpreter.cs
- PathSegment.cs
- ComponentEditorForm.cs
- OdbcRowUpdatingEvent.cs
- AttachedPropertyMethodSelector.cs
- EditorPart.cs
- DesignerLoader.cs
- AuditLevel.cs
- DataException.cs
- MessageBox.cs
- RoleManagerEventArgs.cs
- ClientBuildManager.cs
- Schema.cs
- EventSourceCreationData.cs
- ProviderException.cs
- StorageEndPropertyMapping.cs
- CodeSnippetTypeMember.cs
- KeyConverter.cs
- DockingAttribute.cs
- DropShadowEffect.cs
- IndexedString.cs
- RtfToXamlLexer.cs
- ReadWriteSpinLock.cs
- CodeChecksumPragma.cs
- SortedSet.cs
- SiteMapNodeItemEventArgs.cs
- StateManagedCollection.cs
- LogEntrySerializationException.cs
- TextPattern.cs
- FileStream.cs
- XmlArrayAttribute.cs
- PropertyDescriptorGridEntry.cs
- DropShadowBitmapEffect.cs
- BitmapFrameEncode.cs
- ChildTable.cs
- FixedSOMLineRanges.cs
- ElapsedEventArgs.cs
- TimeoutValidationAttribute.cs
- ProcessHost.cs
- HtmlTableRow.cs
- ClientFormsIdentity.cs
- ObjectComplexPropertyMapping.cs
- ScrollChrome.cs
- EpmCustomContentWriterNodeData.cs
- ProgressBar.cs
- storepermissionattribute.cs
- Axis.cs
- AuthStoreRoleProvider.cs
- TypedServiceOperationListItem.cs
- PageBreakRecord.cs
- XPathNavigatorReader.cs
- ApplicationSettingsBase.cs
- XmlSchemaSimpleContentExtension.cs
- ValueUnavailableException.cs
- Point3DAnimationUsingKeyFrames.cs
- PlainXmlDeserializer.cs
- OperationInfoBase.cs
- DrawingAttributes.cs
- InternalTypeHelper.cs
- ControlEvent.cs
- ScalarType.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- LongCountAggregationOperator.cs
- MetadataUtilsSmi.cs
- DoubleConverter.cs
- OpenTypeCommon.cs
- WindowsSpinner.cs
- EraserBehavior.cs
- PublisherMembershipCondition.cs
- Message.cs
- SearchForVirtualItemEventArgs.cs
- SqlDataSourceCommandEventArgs.cs
- XmlSchemaCompilationSettings.cs
- SqlBuilder.cs
- SortKey.cs
- OptimalTextSource.cs
- CngKeyCreationParameters.cs
- PixelShader.cs
- ByteKeyFrameCollection.cs
- HtmlPageAdapter.cs
- XmlElementAttributes.cs
- Int32RectValueSerializer.cs
- SessionStateSection.cs
- OverlappedContext.cs
- DataGridViewTextBoxEditingControl.cs
- XPathParser.cs
- FormViewUpdatedEventArgs.cs
- QilGeneratorEnv.cs