Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- View.cs
- SecurityPolicySection.cs
- HostingEnvironmentWrapper.cs
- FreeFormDragDropManager.cs
- EncodingNLS.cs
- SystemIPGlobalProperties.cs
- DataGrid.cs
- GetLastErrorDetailsRequest.cs
- SoapMessage.cs
- UnsafeNativeMethods.cs
- GeneralTransform3D.cs
- XmlLanguageConverter.cs
- DbSourceCommand.cs
- InvalidOperationException.cs
- CustomExpressionEventArgs.cs
- PlatformCulture.cs
- DataBinding.cs
- EdmFunction.cs
- CodeConstructor.cs
- ProfileSettingsCollection.cs
- CodeCommentStatement.cs
- CacheSection.cs
- EntityContainer.cs
- HotSpot.cs
- SymbolUsageManager.cs
- CompositeActivityMarkupSerializer.cs
- DummyDataSource.cs
- X509Certificate2Collection.cs
- DesignParameter.cs
- QilTernary.cs
- CapabilitiesSection.cs
- SiteMapDataSourceView.cs
- CollectionEditor.cs
- PersonalizableTypeEntry.cs
- XmlNavigatorFilter.cs
- HtmlGenericControl.cs
- TextServicesContext.cs
- Slider.cs
- MetadataArtifactLoaderResource.cs
- FtpRequestCacheValidator.cs
- printdlgexmarshaler.cs
- TextEditorTables.cs
- ExecutedRoutedEventArgs.cs
- Exceptions.cs
- Inflater.cs
- WorkflowApplicationAbortedEventArgs.cs
- QuerySetOp.cs
- DecimalFormatter.cs
- FormViewCommandEventArgs.cs
- IndexedGlyphRun.cs
- SqlColumnizer.cs
- Int16Converter.cs
- SchemaNamespaceManager.cs
- ItemCheckEvent.cs
- counter.cs
- ApplicationSecurityManager.cs
- Constants.cs
- ActivityBindForm.Designer.cs
- XmlSchemaRedefine.cs
- TaskFileService.cs
- ConvertEvent.cs
- ConnectionStringsSection.cs
- JsonQNameDataContract.cs
- Range.cs
- CheckoutException.cs
- MenuTracker.cs
- Attributes.cs
- HttpVersion.cs
- OpenTypeLayout.cs
- SystemInformation.cs
- KoreanCalendar.cs
- HtmlElementEventArgs.cs
- SqlFlattener.cs
- XmlSchemaNotation.cs
- SqlDataSourceConfigureSortForm.cs
- ImmutableDispatchRuntime.cs
- SimpleRecyclingCache.cs
- AnonymousIdentificationSection.cs
- basemetadatamappingvisitor.cs
- PeerCollaborationPermission.cs
- NonceToken.cs
- ConnectionPool.cs
- OracleColumn.cs
- RemoteDebugger.cs
- AttributeParameterInfo.cs
- ContainerSelectorGlyph.cs
- MexHttpsBindingCollectionElement.cs
- SortAction.cs
- XPathCompileException.cs
- StartUpEventArgs.cs
- PropertiesTab.cs
- ValidateNames.cs
- CustomAttribute.cs
- DesignerLinkAdapter.cs
- AmbientLight.cs
- RectangleHotSpot.cs
- AuthorizationRule.cs
- ThreadStateException.cs
- XmlQueryStaticData.cs
- SizeValueSerializer.cs