Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Presentation / System / Activities / Presentation / View / ErrorView.xaml.cs / 1305376 / ErrorView.xaml.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Activities.Presentation.View { 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; // This class will be the error view presented when there are exceptions or errors // in the designer view, or when we are unable to load the designer. sealed partial class ErrorView : UserControl { public static readonly DependencyProperty MessageProperty = DependencyProperty.Register("Message", typeof(string), typeof(ErrorView), new UIPropertyMetadata(string.Empty)); public static readonly DependencyProperty DetailsProperty = DependencyProperty.Register("Details", typeof(string), typeof(ErrorView), new UIPropertyMetadata(string.Empty)); public ErrorView() { InitializeComponent(); this.DataContext = this; } public string Message { get { return (string)GetValue(MessageProperty); } set { SetValue(MessageProperty, value); } } public string Details { get { return (string)GetValue(DetailsProperty); } set { SetValue(DetailsProperty, value); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Activities.Presentation.View { 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; // This class will be the error view presented when there are exceptions or errors // in the designer view, or when we are unable to load the designer. sealed partial class ErrorView : UserControl { public static readonly DependencyProperty MessageProperty = DependencyProperty.Register("Message", typeof(string), typeof(ErrorView), new UIPropertyMetadata(string.Empty)); public static readonly DependencyProperty DetailsProperty = DependencyProperty.Register("Details", typeof(string), typeof(ErrorView), new UIPropertyMetadata(string.Empty)); public ErrorView() { InitializeComponent(); this.DataContext = this; } public string Message { get { return (string)GetValue(MessageProperty); } set { SetValue(MessageProperty, value); } } public string Details { get { return (string)GetValue(DetailsProperty); } set { SetValue(DetailsProperty, value); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ElementUtil.cs
- XmlSerializerVersionAttribute.cs
- ExtractedStateEntry.cs
- CompModSwitches.cs
- HandlerWithFactory.cs
- remotingproxy.cs
- StructuralType.cs
- StrokeNode.cs
- ValidationError.cs
- HttpApplicationFactory.cs
- FileDialog.cs
- CoreSwitches.cs
- ObjectStorage.cs
- ListViewGroup.cs
- PropertyChangedEventManager.cs
- DispatcherHooks.cs
- SourceElementsCollection.cs
- WsdlInspector.cs
- FileSystemInfo.cs
- SectionUpdates.cs
- CellParagraph.cs
- VarRefManager.cs
- ListView.cs
- ConfigurationConverterBase.cs
- WebPartConnectionsCancelEventArgs.cs
- MenuBase.cs
- ScriptResourceAttribute.cs
- EnvironmentPermission.cs
- GridProviderWrapper.cs
- MessageContractMemberAttribute.cs
- Header.cs
- UnsupportedPolicyOptionsException.cs
- Matrix3D.cs
- GifBitmapEncoder.cs
- ScrollProviderWrapper.cs
- ForceCopyBuildProvider.cs
- FixedHighlight.cs
- Types.cs
- CellParaClient.cs
- PasswordPropertyTextAttribute.cs
- IriParsingElement.cs
- AndMessageFilterTable.cs
- FunctionQuery.cs
- BuildResultCache.cs
- FormViewRow.cs
- Section.cs
- GroupBoxAutomationPeer.cs
- SqlInfoMessageEvent.cs
- MediaElement.cs
- OpacityConverter.cs
- PhysicalFontFamily.cs
- WindowInteractionStateTracker.cs
- MethodCallConverter.cs
- ExpressionEditor.cs
- _IPv4Address.cs
- BindUriHelper.cs
- FigureParagraph.cs
- DataGridViewButtonCell.cs
- CallSite.cs
- UniqueIdentifierService.cs
- XsdDuration.cs
- StreamingContext.cs
- Light.cs
- DrawingAttributeSerializer.cs
- Memoizer.cs
- SimpleFieldTemplateUserControl.cs
- PanelStyle.cs
- RichTextBox.cs
- MergablePropertyAttribute.cs
- Set.cs
- DbProviderConfigurationHandler.cs
- IIS7WorkerRequest.cs
- DBConnectionString.cs
- XmlIncludeAttribute.cs
- StyleSelector.cs
- ZipIOExtraField.cs
- DesignerImageAdapter.cs
- Bind.cs
- AssemblyBuilder.cs
- DbDataSourceEnumerator.cs
- LinqDataSourceContextData.cs
- DrawTreeNodeEventArgs.cs
- Misc.cs
- FixedPageStructure.cs
- SapiGrammar.cs
- CapabilitiesUse.cs
- TargetInvocationException.cs
- KeyValuePairs.cs
- ToolTipService.cs
- XmlHierarchicalDataSourceView.cs
- SafeBitVector32.cs
- Identity.cs
- AssemblySettingAttributes.cs
- AmbiguousMatchException.cs
- PreviewPrintController.cs
- RootNamespaceAttribute.cs
- DateTime.cs
- StorageInfo.cs
- SerializationInfoEnumerator.cs
- SqlFormatter.cs