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
- TransactionValidationBehavior.cs
- BufferedGraphicsManager.cs
- NestPullup.cs
- DataServiceBehavior.cs
- DefaultMemberAttribute.cs
- TextUtf8RawTextWriter.cs
- XmlTextReaderImplHelpers.cs
- ResourceReferenceExpression.cs
- SamlSecurityToken.cs
- BitmapEffect.cs
- FileFormatException.cs
- InvalidOperationException.cs
- securitycriticaldataClass.cs
- ScriptingAuthenticationServiceSection.cs
- InternalConfirm.cs
- DataSourceListEditor.cs
- Int32CAMarshaler.cs
- SafeProcessHandle.cs
- CodeObjectCreateExpression.cs
- TagPrefixCollection.cs
- DiscoveryService.cs
- ICspAsymmetricAlgorithm.cs
- XPathDocumentNavigator.cs
- SchemaAttDef.cs
- HttpModuleCollection.cs
- MSAAWinEventWrap.cs
- HttpRequestCacheValidator.cs
- ListBox.cs
- XmlNullResolver.cs
- xml.cs
- ResXResourceReader.cs
- DiagnosticsConfigurationHandler.cs
- CharUnicodeInfo.cs
- XmlQueryType.cs
- DataGridViewDataErrorEventArgs.cs
- UshortList2.cs
- MetadataArtifactLoaderCompositeFile.cs
- Point.cs
- ZipIOCentralDirectoryFileHeader.cs
- TranslateTransform3D.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- PageContentAsyncResult.cs
- SelectionChangedEventArgs.cs
- UnitySerializationHolder.cs
- MatchingStyle.cs
- FigureParaClient.cs
- FactoryGenerator.cs
- WebDescriptionAttribute.cs
- CookieParameter.cs
- SerialErrors.cs
- PersonalizationState.cs
- ResourceWriter.cs
- PlanCompiler.cs
- NumberAction.cs
- ArrayItemValue.cs
- Vertex.cs
- ParallelSeparator.xaml.cs
- SecurityContext.cs
- GenericEnumConverter.cs
- RemoveStoryboard.cs
- ManagementDateTime.cs
- CorruptStoreException.cs
- _AuthenticationState.cs
- Symbol.cs
- Visual.cs
- CssTextWriter.cs
- FontConverter.cs
- TriState.cs
- AutomationIdentifier.cs
- LogReservationCollection.cs
- MediaTimeline.cs
- RecordsAffectedEventArgs.cs
- DocComment.cs
- DeclarativeCatalogPart.cs
- Decimal.cs
- TextEndOfSegment.cs
- BitmapEffectDrawingContent.cs
- DataServiceConfiguration.cs
- CrossSiteScriptingValidation.cs
- TranslateTransform3D.cs
- WindowsStatic.cs
- AssemblyFilter.cs
- LinkClickEvent.cs
- InternalsVisibleToAttribute.cs
- DashStyle.cs
- Schema.cs
- ImageMetadata.cs
- CompilerError.cs
- OleDbConnectionFactory.cs
- ItemCheckedEvent.cs
- SwitchElementsCollection.cs
- WMIGenerator.cs
- Message.cs
- PersonalizationProvider.cs
- DragSelectionMessageFilter.cs
- QueryContinueDragEventArgs.cs
- XPathDocumentBuilder.cs
- ClassData.cs
- TransactionManager.cs
- ConcurrentBag.cs