Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- PointCollection.cs
- DataMemberFieldEditor.cs
- EventSourceCreationData.cs
- DispatcherFrame.cs
- MaskDesignerDialog.cs
- BitmapEffectGeneralTransform.cs
- WebPartChrome.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- PropertyManager.cs
- RemoteWebConfigurationHost.cs
- SymLanguageVendor.cs
- UnsafeNativeMethods.cs
- RecipientInfo.cs
- StructuralType.cs
- ContainerCodeDomSerializer.cs
- OrderedDictionary.cs
- basenumberconverter.cs
- Form.cs
- DataControlLinkButton.cs
- XmlParserContext.cs
- ImageSource.cs
- dbdatarecord.cs
- TextTabProperties.cs
- TabOrder.cs
- FormViewRow.cs
- LockedHandleGlyph.cs
- EncryptedData.cs
- _FtpControlStream.cs
- ContextMenuService.cs
- LoadedEvent.cs
- ItemsControlAutomationPeer.cs
- HMACSHA512.cs
- RuntimeCompatibilityAttribute.cs
- FormsAuthenticationModule.cs
- EdmMember.cs
- processwaithandle.cs
- UnmanagedMemoryStreamWrapper.cs
- SqlNodeAnnotation.cs
- DataGridViewColumnHeaderCell.cs
- CompilerState.cs
- DesignerSelectionListAdapter.cs
- UnmanagedMarshal.cs
- SinglePageViewer.cs
- SendSecurityHeaderElement.cs
- KnowledgeBase.cs
- Select.cs
- SQLGuid.cs
- webclient.cs
- WebPartUtil.cs
- SingleTagSectionHandler.cs
- SmtpReplyReader.cs
- WebPartZoneCollection.cs
- DataErrorValidationRule.cs
- COM2IDispatchConverter.cs
- DatePickerDateValidationErrorEventArgs.cs
- PageThemeCodeDomTreeGenerator.cs
- ObjectStateEntry.cs
- StringComparer.cs
- InputReportEventArgs.cs
- AssociationType.cs
- FontStyle.cs
- StrokeCollectionDefaultValueFactory.cs
- streamingZipPartStream.cs
- IncrementalCompileAnalyzer.cs
- Menu.cs
- ItemsPanelTemplate.cs
- SemanticAnalyzer.cs
- TypeSemantics.cs
- ReferencedAssembly.cs
- SerializationAttributes.cs
- WebHttpSecurityModeHelper.cs
- TextParagraphCache.cs
- AudioSignalProblemOccurredEventArgs.cs
- mediapermission.cs
- HttpClientCertificate.cs
- Transform3DGroup.cs
- DetailsViewPagerRow.cs
- Translator.cs
- ImpersonationContext.cs
- ToolboxItemWrapper.cs
- Debug.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- SequenceNumber.cs
- DispatcherEventArgs.cs
- DataListItemCollection.cs
- SmtpAuthenticationManager.cs
- LocalValueEnumerator.cs
- BaseResourcesBuildProvider.cs
- IIS7WorkerRequest.cs
- CompiledIdentityConstraint.cs
- MenuItemCollection.cs
- basecomparevalidator.cs
- CookieProtection.cs
- FormViewUpdatedEventArgs.cs
- ComboBox.cs
- FileAuthorizationModule.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- PathSegment.cs
- LoadWorkflowCommand.cs
- ProcessInputEventArgs.cs