Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Markup / DefinitionProperties.cs / 1 / DefinitionProperties.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: A dependency object who defines dependency properties used for // storing information relating to the "x:" namespace ("Definition") in the // corresponding markup. The properties are set during the parsing stages // and can be retrieved afterwards by others who need them. // // History: // 10/09/2003 : [....] - Initial creation to store x:Uid // //--------------------------------------------------------------------------- namespace System.Windows.Markup { internal class DefinitionProperties : DependencyObject { public static readonly DependencyProperty UidProperty = DependencyProperty.RegisterAttached("Uid", typeof(string), typeof(DefinitionProperties), new PropertyMetadata(string.Empty)); public static void SetUid(DependencyObject e, string uid) { e.SetValue(UidProperty, uid); } [DesignerSerializationOptions(DesignerSerializationOptions.SerializeAsAttribute)] public static string GetUid(DependencyObject e) { return e.GetValue(UidProperty).ToString(); } // This is used for serialization of Uid internal static readonly string UidString = "x:Uid"; } } // 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
- ToggleButtonAutomationPeer.cs
- RawStylusInputReport.cs
- MonthChangedEventArgs.cs
- Rijndael.cs
- VisemeEventArgs.cs
- DbgUtil.cs
- DbConnectionPoolIdentity.cs
- Item.cs
- WebReferencesBuildProvider.cs
- NullRuntimeConfig.cs
- XPathItem.cs
- SynchronousReceiveBehavior.cs
- MultiPropertyDescriptorGridEntry.cs
- PathFigureCollection.cs
- FormsAuthenticationConfiguration.cs
- LabelExpression.cs
- QueuedDeliveryRequirementsMode.cs
- SoapSchemaMember.cs
- ConfigurationFileMap.cs
- ValidatorCollection.cs
- ThaiBuddhistCalendar.cs
- CodeEventReferenceExpression.cs
- ContentAlignmentEditor.cs
- CoTaskMemHandle.cs
- Size3D.cs
- BaseAsyncResult.cs
- DuplicateWaitObjectException.cs
- BmpBitmapEncoder.cs
- NameValueSectionHandler.cs
- LoginView.cs
- Int32Animation.cs
- NetworkInformationPermission.cs
- XmlDeclaration.cs
- MethodToken.cs
- HttpClientCertificate.cs
- UpDownEvent.cs
- ImportContext.cs
- WebPartEventArgs.cs
- uribuilder.cs
- FixedTextView.cs
- IntMinMaxAggregationOperator.cs
- Emitter.cs
- XmlQualifiedName.cs
- CodeTryCatchFinallyStatement.cs
- RotateTransform3D.cs
- EntityDataSourceUtil.cs
- GeometryHitTestParameters.cs
- OutputCacheProfile.cs
- ColumnHeaderConverter.cs
- ToolStripTemplateNode.cs
- ParameterCollection.cs
- PackagingUtilities.cs
- DefinitionUpdate.cs
- SimpleBitVector32.cs
- BindingCollection.cs
- TimersDescriptionAttribute.cs
- RNGCryptoServiceProvider.cs
- ErrorFormatter.cs
- DetailsViewRowCollection.cs
- Composition.cs
- SectionVisual.cs
- CombinedGeometry.cs
- LogConverter.cs
- FormsIdentity.cs
- AppDomainResourcePerfCounters.cs
- SelectionRange.cs
- RoleService.cs
- PaperSize.cs
- SqlParameter.cs
- SHA512.cs
- CheckBoxField.cs
- SecurityCredentialsManager.cs
- PeerNeighborManager.cs
- WSSecureConversationFeb2005.cs
- RecognizerInfo.cs
- DocComment.cs
- MarkupCompilePass2.cs
- XmlLangPropertyAttribute.cs
- DeadCharTextComposition.cs
- DesigntimeLicenseContextSerializer.cs
- Floater.cs
- JpegBitmapDecoder.cs
- AssertFilter.cs
- ClientSideProviderDescription.cs
- SocketAddress.cs
- UrlPath.cs
- DoubleIndependentAnimationStorage.cs
- WebConfigManager.cs
- SemanticAnalyzer.cs
- HttpContext.cs
- XmlSerializerVersionAttribute.cs
- GeneralTransform3D.cs
- GregorianCalendarHelper.cs
- elementinformation.cs
- FixedSOMSemanticBox.cs
- DocumentPageView.cs
- XmlSchemaValidator.cs
- InProcStateClientManager.cs
- HtmlImage.cs
- MetabaseSettings.cs