Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / MS / Internal / Data / BindingExpressionUncommonField.cs / 1305600 / BindingExpressionUncommonField.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: Defines an UncommonField of type BindingExpression. // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Windows.Data; namespace MS.Internal.Data { ////// An UncommonField whose type is BindingExpression. /// internal class BindingExpressionUncommonField : UncommonField{ internal new void SetValue(DependencyObject instance, BindingExpression bindingExpr) { base.SetValue(instance, bindingExpr); bindingExpr.Attach(instance); } internal new void ClearValue(DependencyObject instance) { BindingExpression bindingExpr = GetValue(instance); if (bindingExpr != null) { bindingExpr.Detach(); } base.ClearValue(instance); } } } // 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
- DrawingContextWalker.cs
- HttpApplicationStateBase.cs
- DateTimeStorage.cs
- SpanIndex.cs
- InvalidPropValue.cs
- ForceCopyBuildProvider.cs
- Function.cs
- TripleDES.cs
- Stream.cs
- base64Transforms.cs
- SqlMethodTransformer.cs
- CollectionsUtil.cs
- FontEmbeddingManager.cs
- Mappings.cs
- ClassData.cs
- SqlTypesSchemaImporter.cs
- BitmapMetadataEnumerator.cs
- DiscoveryProxy.cs
- MarkupCompilePass1.cs
- ExecutorLocksHeldException.cs
- UserPreferenceChangedEventArgs.cs
- RecommendedAsConfigurableAttribute.cs
- SplashScreenNativeMethods.cs
- LinqExpressionNormalizer.cs
- DbModificationClause.cs
- CookieProtection.cs
- SynchronizedChannelCollection.cs
- IItemProperties.cs
- XamlToRtfParser.cs
- UpDownBase.cs
- WebDisplayNameAttribute.cs
- ListViewUpdatedEventArgs.cs
- CompiledRegexRunner.cs
- Internal.cs
- DataColumn.cs
- PropertyNames.cs
- TypeUtils.cs
- EntityTypeBase.cs
- GenerateHelper.cs
- QueryRewriter.cs
- ResourceDictionary.cs
- ToolStripOverflowButton.cs
- CommandID.cs
- ComponentGuaranteesAttribute.cs
- Hash.cs
- SQLUtility.cs
- TraceData.cs
- UnmanagedMemoryStream.cs
- SchemaNamespaceManager.cs
- MetadataUtilsSmi.cs
- FormViewDeletedEventArgs.cs
- GridViewDeleteEventArgs.cs
- ClientConvert.cs
- ArrayTypeMismatchException.cs
- TextEndOfLine.cs
- BatchParser.cs
- XPathSelfQuery.cs
- StatusBarPanelClickEvent.cs
- LogManagementAsyncResult.cs
- XPathChildIterator.cs
- SaveFileDialog.cs
- SQLChars.cs
- ColumnCollection.cs
- ProtectedConfigurationSection.cs
- FormatterServices.cs
- MaskedTextProvider.cs
- WebBrowserNavigatedEventHandler.cs
- ScalarOps.cs
- LicenseManager.cs
- GeometryModel3D.cs
- FormParameter.cs
- UserPreferenceChangingEventArgs.cs
- updateconfighost.cs
- TabControl.cs
- Ref.cs
- SHA256Cng.cs
- XpsSerializationManagerAsync.cs
- BatchServiceHost.cs
- FontInfo.cs
- CommonRemoteMemoryBlock.cs
- SqlBulkCopy.cs
- Vector3DCollectionValueSerializer.cs
- EntitySetDataBindingList.cs
- DrawToolTipEventArgs.cs
- StringReader.cs
- ChangePassword.cs
- SqlLiftIndependentRowExpressions.cs
- ConfigurationLoaderException.cs
- ArgumentException.cs
- CodeNamespaceCollection.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ReflectEventDescriptor.cs
- VoiceObjectToken.cs
- ExpressionEditorAttribute.cs
- DecimalAnimationBase.cs
- TextReader.cs
- SHA384Managed.cs
- WebColorConverter.cs
- DocumentPageHost.cs
- Hashtable.cs