Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- WebPartCloseVerb.cs
- ContextStaticAttribute.cs
- CqlBlock.cs
- ConfigurationLoaderException.cs
- Sequence.cs
- OrderByBuilder.cs
- ModuleBuilder.cs
- OutOfMemoryException.cs
- Stream.cs
- Clipboard.cs
- CAGDesigner.cs
- OleDbTransaction.cs
- ConfigurationSettings.cs
- DrawingCollection.cs
- GenericQueueSurrogate.cs
- ExtentJoinTreeNode.cs
- Triplet.cs
- SignedPkcs7.cs
- DateTimeFormat.cs
- NetworkAddressChange.cs
- _ServiceNameStore.cs
- ReadOnlyDictionary.cs
- StateInitializationDesigner.cs
- listitem.cs
- LayoutTable.cs
- HtmlForm.cs
- WindowsRegion.cs
- Int16.cs
- SplashScreen.cs
- SQLMembershipProvider.cs
- IList.cs
- InputBindingCollection.cs
- MoveSizeWinEventHandler.cs
- ConfigurationManagerInternalFactory.cs
- ForceCopyBuildProvider.cs
- MetadataItemCollectionFactory.cs
- TableSectionStyle.cs
- EventSource.cs
- ServiceMemoryGates.cs
- DtdParser.cs
- DataAccessException.cs
- GridViewRowPresenterBase.cs
- Crc32.cs
- ButtonBaseAutomationPeer.cs
- ClonableStack.cs
- DataKey.cs
- CapabilitiesSection.cs
- AlignmentXValidation.cs
- SwitchLevelAttribute.cs
- PathGeometry.cs
- WriteTimeStream.cs
- StringDictionary.cs
- DataGridViewRowPostPaintEventArgs.cs
- TextRangeBase.cs
- safemediahandle.cs
- BrowserDefinitionCollection.cs
- ExceptionUtil.cs
- PlanCompiler.cs
- VBIdentifierName.cs
- CodeDomSerializer.cs
- UnmanagedMemoryStream.cs
- WebResourceAttribute.cs
- MultitargetUtil.cs
- SqlDelegatedTransaction.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- GcSettings.cs
- DesignerVerb.cs
- DataAdapter.cs
- AdornerDecorator.cs
- Viewport3DVisual.cs
- XmlObjectSerializerWriteContextComplex.cs
- ProcessInfo.cs
- WebFaultClientMessageInspector.cs
- DataGridPageChangedEventArgs.cs
- CommandSet.cs
- SecurityUtils.cs
- FlowDocumentPageViewerAutomationPeer.cs
- TreeViewHitTestInfo.cs
- ResourceReferenceKeyNotFoundException.cs
- TextServicesProperty.cs
- SevenBitStream.cs
- ServiceInstallComponent.cs
- AppSettingsExpressionBuilder.cs
- FormsIdentity.cs
- XmlSchemaRedefine.cs
- GradientStop.cs
- Window.cs
- KeyInfo.cs
- BaseDataListDesigner.cs
- UInt32.cs
- TextServicesCompartment.cs
- HandlerBase.cs
- RoleBoolean.cs
- RowUpdatingEventArgs.cs
- FindCriteria11.cs
- ViewPort3D.cs
- ByteAnimationBase.cs
- LocalizableAttribute.cs
- FileDialog_Vista_Interop.cs
- MultipleViewPattern.cs