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
- AppSecurityManager.cs
- TypeForwardedFromAttribute.cs
- OperatingSystem.cs
- MenuItemBinding.cs
- DropShadowEffect.cs
- TrustManagerPromptUI.cs
- ZipIOLocalFileBlock.cs
- BaseTemplateParser.cs
- ToolStripDropDownButton.cs
- XPathNodeHelper.cs
- dtdvalidator.cs
- InputReportEventArgs.cs
- SqlDataReaderSmi.cs
- XmlComment.cs
- KnowledgeBase.cs
- Part.cs
- XsdDateTime.cs
- Tokenizer.cs
- TableHeaderCell.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- ParserHooks.cs
- MinimizableAttributeTypeConverter.cs
- ParserStreamGeometryContext.cs
- XmlC14NWriter.cs
- Propagator.cs
- XPathNodeHelper.cs
- ReadOnlyTernaryTree.cs
- BulletChrome.cs
- Normalization.cs
- NetStream.cs
- SecurityBindingElementImporter.cs
- SafeHandles.cs
- DataGridViewAdvancedBorderStyle.cs
- CLRBindingWorker.cs
- StringValueConverter.cs
- ZipIOLocalFileBlock.cs
- DeclarativeCatalogPart.cs
- CodeThrowExceptionStatement.cs
- ConnectionStringsSection.cs
- RowBinding.cs
- SemanticKeyElement.cs
- DictionaryBase.cs
- LocationSectionRecord.cs
- PersonalizationState.cs
- FormsAuthenticationConfiguration.cs
- ReaderOutput.cs
- ObjectQuery_EntitySqlExtensions.cs
- EventWaitHandleSecurity.cs
- KeyFrames.cs
- XPathMessageFilterElement.cs
- CacheChildrenQuery.cs
- ProcessThread.cs
- DataGridViewButtonColumn.cs
- ArithmeticException.cs
- TransformerConfigurationWizardBase.cs
- UnaryExpressionHelper.cs
- CompressStream.cs
- SchemaMapping.cs
- HttpGetClientProtocol.cs
- Misc.cs
- WebPartDisplayModeEventArgs.cs
- _SSPISessionCache.cs
- WebPageTraceListener.cs
- ScriptManager.cs
- MessageQueueInstaller.cs
- ToolBarTray.cs
- SafeEventLogWriteHandle.cs
- Ipv6Element.cs
- TemplateBindingExpression.cs
- ResourcesChangeInfo.cs
- LineServicesRun.cs
- SqlCacheDependencyDatabase.cs
- CheckBoxList.cs
- InternalPermissions.cs
- InstancePersistenceContext.cs
- Compiler.cs
- SrgsOneOf.cs
- KeyBinding.cs
- FunctionGenerator.cs
- ScriptHandlerFactory.cs
- ConfigXmlElement.cs
- BooleanToVisibilityConverter.cs
- VirtualPath.cs
- ArrayHelper.cs
- MenuItemAutomationPeer.cs
- ValidatingCollection.cs
- OracleTimeSpan.cs
- ParallelForEach.cs
- TemplateControlCodeDomTreeGenerator.cs
- InstanceValue.cs
- WebBodyFormatMessageProperty.cs
- PartBasedPackageProperties.cs
- WebPartHeaderCloseVerb.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- SqlRowUpdatingEvent.cs
- RightsManagementEncryptedStream.cs
- PeerNameResolver.cs
- MSAAWinEventWrap.cs
- Command.cs
- TextEvent.cs