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
- SharedDp.cs
- ItemCollection.cs
- Property.cs
- TcpChannelHelper.cs
- FillRuleValidation.cs
- Polygon.cs
- GeneralTransformCollection.cs
- RsaKeyIdentifierClause.cs
- TransportSecurityBindingElement.cs
- PlacementWorkspace.cs
- AuthenticationSection.cs
- Hex.cs
- HtmlInputButton.cs
- SrgsElementList.cs
- WorkflowCommandExtensionItem.cs
- FileInfo.cs
- MembershipSection.cs
- TableLayoutSettings.cs
- DbDataAdapter.cs
- InternalBufferOverflowException.cs
- DataControlFieldCollection.cs
- DataGridViewCellStyleConverter.cs
- LabelLiteral.cs
- DataListItemCollection.cs
- TextChangedEventArgs.cs
- HideDisabledControlAdapter.cs
- HtmlTable.cs
- PenCursorManager.cs
- CodeMethodInvokeExpression.cs
- Normalization.cs
- StrokeNodeOperations.cs
- ManagedIStream.cs
- DbConnectionPool.cs
- PanelStyle.cs
- WindowsPrincipal.cs
- UIElement.cs
- Parser.cs
- XamlBrushSerializer.cs
- PropertyEmitterBase.cs
- TemplateField.cs
- ClientTarget.cs
- ParallelRangeManager.cs
- TextAnchor.cs
- PageContentCollection.cs
- SoundPlayerAction.cs
- Substitution.cs
- GridViewRowEventArgs.cs
- FontInfo.cs
- TableCell.cs
- HeaderLabel.cs
- XamlVector3DCollectionSerializer.cs
- AuthorizationSection.cs
- XmlSiteMapProvider.cs
- CodePropertyReferenceExpression.cs
- ScriptBehaviorDescriptor.cs
- MultilineStringConverter.cs
- ContainerParagraph.cs
- Debug.cs
- DomainConstraint.cs
- GridViewItemAutomationPeer.cs
- LongValidatorAttribute.cs
- InvalidCastException.cs
- DataGridViewCell.cs
- AspNetHostingPermission.cs
- WebHttpBindingCollectionElement.cs
- EncoderNLS.cs
- CustomCategoryAttribute.cs
- BinHexEncoding.cs
- DocumentXmlWriter.cs
- DataFormats.cs
- TabControl.cs
- XslAst.cs
- LocalizationParserHooks.cs
- DirectoryObjectSecurity.cs
- CorrelationValidator.cs
- Win32SafeHandles.cs
- PeerName.cs
- GlyphsSerializer.cs
- QueryableFilterRepeater.cs
- ParentQuery.cs
- SetStoryboardSpeedRatio.cs
- TransformProviderWrapper.cs
- EntityStoreSchemaFilterEntry.cs
- ContentType.cs
- Content.cs
- RequestCacheManager.cs
- ExtensionDataReader.cs
- HierarchicalDataTemplate.cs
- EmptyElement.cs
- SoapSchemaExporter.cs
- DataGridClipboardHelper.cs
- TreeViewImageKeyConverter.cs
- Pair.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- FtpCachePolicyElement.cs
- PropertyDescriptors.cs
- ObjectItemLoadingSessionData.cs
- TabletDeviceInfo.cs
- FixedSOMElement.cs
- PrimitiveXmlSerializers.cs