Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / MS / Internal / Data / BindingExpressionUncommonField.cs / 1 / 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. //---------------------------------------------------------------------------- // // // 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
- CharAnimationUsingKeyFrames.cs
- MethodBody.cs
- ByteStreamMessageEncodingElement.cs
- StylusButtonCollection.cs
- WebPartHelpVerb.cs
- Trace.cs
- ValueUnavailableException.cs
- ToolStripContentPanel.cs
- SafeProcessHandle.cs
- UdpReplyToBehavior.cs
- Vector3D.cs
- TraceUtility.cs
- CmsInterop.cs
- XmlBoundElement.cs
- AppDomainUnloadedException.cs
- EntityKeyElement.cs
- BaseCollection.cs
- XmlNamespaceMapping.cs
- ValidationRule.cs
- TraceLog.cs
- ContextMenuStrip.cs
- RecognitionEventArgs.cs
- WebPageTraceListener.cs
- ArrayWithOffset.cs
- TemplateManager.cs
- SafeNativeMethods.cs
- baseshape.cs
- PerformanceCounterPermission.cs
- Brush.cs
- SqlTransaction.cs
- WebPartDescription.cs
- ProviderIncompatibleException.cs
- Vector3D.cs
- ADConnectionHelper.cs
- ResourceDictionaryCollection.cs
- TextCharacters.cs
- InlineCollection.cs
- BufferedWebEventProvider.cs
- RegexWorker.cs
- JoinCqlBlock.cs
- Empty.cs
- ScrollEvent.cs
- ToolboxItem.cs
- XmlTextAttribute.cs
- Light.cs
- ShaperBuffers.cs
- RealizationContext.cs
- CachedBitmap.cs
- complextypematerializer.cs
- Overlapped.cs
- TextCharacters.cs
- DataKeyCollection.cs
- HyperLinkDesigner.cs
- CustomAttribute.cs
- WebPartManagerInternals.cs
- DerivedKeySecurityToken.cs
- MarshalByValueComponent.cs
- SelectionEditingBehavior.cs
- UriSection.cs
- TextRangeSerialization.cs
- DescendantBaseQuery.cs
- RectKeyFrameCollection.cs
- TypefaceMap.cs
- TTSVoice.cs
- AspCompat.cs
- SoapExtensionReflector.cs
- Vector.cs
- EncoderBestFitFallback.cs
- Int64Storage.cs
- Hash.cs
- SmiEventStream.cs
- DataGridGeneralPage.cs
- CharUnicodeInfo.cs
- IgnoreSectionHandler.cs
- BaseResourcesBuildProvider.cs
- PropertyChangeTracker.cs
- SystemDropShadowChrome.cs
- ButtonRenderer.cs
- DefaultMemberAttribute.cs
- AuthorizationRule.cs
- GeometryModel3D.cs
- ReadContentAsBinaryHelper.cs
- followingquery.cs
- RowToParametersTransformer.cs
- ProcessModuleDesigner.cs
- DependencyPropertyAttribute.cs
- GuidTagList.cs
- IdnElement.cs
- AsyncResult.cs
- DefaultTextStore.cs
- SchemaImporter.cs
- WindowPattern.cs
- SoapObjectReader.cs
- TreeNodeClickEventArgs.cs
- BrowserCapabilitiesCodeGenerator.cs
- XmlDocumentSerializer.cs
- CroppedBitmap.cs
- StyleTypedPropertyAttribute.cs
- Event.cs
- HandlerFactoryWrapper.cs