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
- TextBoxAutoCompleteSourceConverter.cs
- ConfigurationElementCollection.cs
- CodeCastExpression.cs
- SolidColorBrush.cs
- FixedSOMTable.cs
- MasterPageParser.cs
- LoginView.cs
- ToolStripSettings.cs
- GridViewPageEventArgs.cs
- ComponentEditorPage.cs
- DrawingGroupDrawingContext.cs
- HttpModuleCollection.cs
- TypeUtils.cs
- UserControl.cs
- Border.cs
- ExpressionDumper.cs
- ExpandSegment.cs
- BitConverter.cs
- DispatcherExceptionFilterEventArgs.cs
- PasswordTextContainer.cs
- XmlSchemaParticle.cs
- RemoteHelper.cs
- _IPv4Address.cs
- StructuralType.cs
- SafeEventLogReadHandle.cs
- GregorianCalendar.cs
- LocatorGroup.cs
- DataSourceControl.cs
- PeerObject.cs
- ComEventsHelper.cs
- CqlParserHelpers.cs
- RankException.cs
- DataBindingHandlerAttribute.cs
- DispatchOperationRuntime.cs
- TextTrailingWordEllipsis.cs
- DefaultValueAttribute.cs
- _CookieModule.cs
- mda.cs
- PageParserFilter.cs
- DataGridViewTopRowAccessibleObject.cs
- CodeMethodReturnStatement.cs
- TaskFactory.cs
- Literal.cs
- WebControlToolBoxItem.cs
- SectionVisual.cs
- ContextMenu.cs
- PageParser.cs
- _AutoWebProxyScriptHelper.cs
- WebBrowserHelper.cs
- ChannelFactoryBase.cs
- AssemblyNameUtility.cs
- OperationResponse.cs
- StringArrayConverter.cs
- safelinkcollection.cs
- Cloud.cs
- SecurityCriticalDataForSet.cs
- RuleInfoComparer.cs
- DebugInfoGenerator.cs
- StorageEntityTypeMapping.cs
- BroadcastEventHelper.cs
- Int32RectConverter.cs
- SingleKeyFrameCollection.cs
- MimeParameterWriter.cs
- safesecurityhelperavalon.cs
- x509store.cs
- Typeface.cs
- WSFederationHttpSecurityMode.cs
- BrowserTree.cs
- CrossAppDomainChannel.cs
- CombinedGeometry.cs
- Number.cs
- FormatVersion.cs
- MetabaseSettings.cs
- XPathException.cs
- Size.cs
- IdnElement.cs
- MultiViewDesigner.cs
- PrintDialogException.cs
- Wizard.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- DataBoundControlParameterTarget.cs
- EventLogInformation.cs
- CheckableControlBaseAdapter.cs
- GroupLabel.cs
- DNS.cs
- ResolveNameEventArgs.cs
- ActiveXHelper.cs
- ListViewItem.cs
- COM2IDispatchConverter.cs
- OptimizerPatterns.cs
- HtmlInputButton.cs
- CachedTypeface.cs
- IconConverter.cs
- WorkItem.cs
- UpdatePanelTrigger.cs
- BackgroundWorker.cs
- ThreadStaticAttribute.cs
- ContravarianceAdapter.cs
- TransactionState.cs
- dtdvalidator.cs