Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Presentation / System / Activities / Presentation / View / NamespaceDisplay.xaml.cs / 1305376 / NamespaceDisplay.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; using System.Windows.Automation.Peers; namespace System.Activities.Presentation.View { ////// Interaction logic for NamespaceDisplay.xaml /// partial class NamespaceDisplay : UserControl { public static readonly DependencyProperty NamespaceProperty = DependencyProperty.Register( "Namespace", typeof(string), typeof(NamespaceDisplay)); public static readonly DependencyProperty IsInvalidProperty = DependencyProperty.Register( "IsInvalid", typeof(bool), typeof(NamespaceDisplay)); public static readonly DependencyProperty ErrorMessageProperty = DependencyProperty.Register( "ErrorMessage", typeof(string), typeof(NamespaceDisplay)); public NamespaceDisplay() { InitializeComponent(); } public string Namespace { get { return (string)GetValue(NamespaceProperty); } set { SetValue(NamespaceProperty, value); } } public bool IsInvalid { get { return (bool)GetValue(IsInvalidProperty); } set { SetValue(IsInvalidProperty, value); } } public string ErrorMessage { get { return (string)GetValue(ErrorMessageProperty); } set { SetValue(ErrorMessageProperty, value); } } protected override AutomationPeer OnCreateAutomationPeer() { return new NamespaceDisplayAutomationPeer(this); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; using System.Windows.Automation.Peers; namespace System.Activities.Presentation.View { ////// Interaction logic for NamespaceDisplay.xaml /// partial class NamespaceDisplay : UserControl { public static readonly DependencyProperty NamespaceProperty = DependencyProperty.Register( "Namespace", typeof(string), typeof(NamespaceDisplay)); public static readonly DependencyProperty IsInvalidProperty = DependencyProperty.Register( "IsInvalid", typeof(bool), typeof(NamespaceDisplay)); public static readonly DependencyProperty ErrorMessageProperty = DependencyProperty.Register( "ErrorMessage", typeof(string), typeof(NamespaceDisplay)); public NamespaceDisplay() { InitializeComponent(); } public string Namespace { get { return (string)GetValue(NamespaceProperty); } set { SetValue(NamespaceProperty, value); } } public bool IsInvalid { get { return (bool)GetValue(IsInvalidProperty); } set { SetValue(IsInvalidProperty, value); } } public string ErrorMessage { get { return (string)GetValue(ErrorMessageProperty); } set { SetValue(ErrorMessageProperty, value); } } protected override AutomationPeer OnCreateAutomationPeer() { return new NamespaceDisplayAutomationPeer(this); } } } // 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
- KeyToListMap.cs
- SystemIPGlobalStatistics.cs
- DataGridTableStyleMappingNameEditor.cs
- BuiltInExpr.cs
- Utils.cs
- QueryProcessor.cs
- HttpSessionStateWrapper.cs
- ValidatingReaderNodeData.cs
- _ScatterGatherBuffers.cs
- DispatcherHookEventArgs.cs
- ThreadAbortException.cs
- BaseParser.cs
- GridViewCommandEventArgs.cs
- SafeJobHandle.cs
- KeySplineConverter.cs
- DataSourceCacheDurationConverter.cs
- Number.cs
- ComContractElement.cs
- MoveSizeWinEventHandler.cs
- AsymmetricSignatureDeformatter.cs
- AlignmentYValidation.cs
- DataListGeneralPage.cs
- StructuredTypeInfo.cs
- EditorZoneBase.cs
- InvokePatternIdentifiers.cs
- ISFTagAndGuidCache.cs
- SqlNotificationEventArgs.cs
- EventItfInfo.cs
- MeshGeometry3D.cs
- TabletDeviceInfo.cs
- XmlNullResolver.cs
- CompositionTarget.cs
- Symbol.cs
- AspNetHostingPermission.cs
- DataControlField.cs
- IPHostEntry.cs
- SynchronizationContext.cs
- SerializationException.cs
- AffineTransform3D.cs
- SqlNamer.cs
- PackWebRequest.cs
- UInt16Converter.cs
- DataGridViewColumnEventArgs.cs
- SymbolDocumentInfo.cs
- StreamUpdate.cs
- SoundPlayer.cs
- ExpressionNode.cs
- EncodingTable.cs
- XmlHierarchyData.cs
- BrowserDefinitionCollection.cs
- Size3DConverter.cs
- ToolboxItemSnapLineBehavior.cs
- _NTAuthentication.cs
- Glyph.cs
- ListControlConvertEventArgs.cs
- DiscoveryInnerClientAdhoc11.cs
- DataServiceQuery.cs
- InProcStateClientManager.cs
- FormViewAutoFormat.cs
- StateMachineWorkflowDesigner.cs
- SAPIEngineTypes.cs
- ActivityFunc.cs
- TokenBasedSet.cs
- UInt32.cs
- TimeoutValidationAttribute.cs
- DelayedRegex.cs
- TableRowCollection.cs
- VersionedStreamOwner.cs
- UnSafeCharBuffer.cs
- SBCSCodePageEncoding.cs
- EventMap.cs
- RequiredFieldValidator.cs
- XhtmlBasicTextViewAdapter.cs
- NonSerializedAttribute.cs
- User.cs
- XmlSchemaInclude.cs
- ContentDisposition.cs
- UnsafeNativeMethods.cs
- LongAverageAggregationOperator.cs
- HttpHandlerAction.cs
- FunctionMappingTranslator.cs
- QueryOptionExpression.cs
- ServiceNameElementCollection.cs
- Variant.cs
- XmlDeclaration.cs
- SecurityTraceRecordHelper.cs
- RijndaelManaged.cs
- OutputCacheProfile.cs
- AstTree.cs
- ICspAsymmetricAlgorithm.cs
- ListViewHitTestInfo.cs
- DescriptionAttribute.cs
- safelink.cs
- ADMembershipUser.cs
- SingleAnimationUsingKeyFrames.cs
- ListViewPagedDataSource.cs
- WizardPanelChangingEventArgs.cs
- EntityContainerRelationshipSetEnd.cs
- ListBoxItemWrapperAutomationPeer.cs
- VBIdentifierTrimConverter.cs