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
- WsdlBuildProvider.cs
- AxParameterData.cs
- WbemProvider.cs
- SqlRemoveConstantOrderBy.cs
- ByteConverter.cs
- PropertyPathConverter.cs
- NTAccount.cs
- XmlElement.cs
- TreeViewEvent.cs
- DisplayMemberTemplateSelector.cs
- SettingsPropertyWrongTypeException.cs
- XmlName.cs
- Parsers.cs
- DecoderReplacementFallback.cs
- NegotiateStream.cs
- SafeLibraryHandle.cs
- COSERVERINFO.cs
- ValidationPropertyAttribute.cs
- ConstantProjectedSlot.cs
- ExpressionEditorAttribute.cs
- indexingfiltermarshaler.cs
- DataGridViewCellEventArgs.cs
- CallbackException.cs
- DocumentViewer.cs
- WebPartEditorCancelVerb.cs
- FormatterConverter.cs
- ManagementOperationWatcher.cs
- WebPartsPersonalizationAuthorization.cs
- RelatedEnd.cs
- QueryOutputWriter.cs
- FixedSOMLineRanges.cs
- AnnotationComponentChooser.cs
- ReadOnlyAttribute.cs
- StaticContext.cs
- InvalidDataException.cs
- OdbcReferenceCollection.cs
- InstancePersistenceCommand.cs
- ControlBuilder.cs
- TabPanel.cs
- XmlSchemaExporter.cs
- InstanceData.cs
- EndpointNameMessageFilter.cs
- ExpressionBindingCollection.cs
- InvokeGenerator.cs
- Pair.cs
- JavaScriptObjectDeserializer.cs
- ShaderRenderModeValidation.cs
- TypeElementCollection.cs
- NameNode.cs
- ProxyAttribute.cs
- TextEditorLists.cs
- UnsafePeerToPeerMethods.cs
- SrgsRuleRef.cs
- BooleanFunctions.cs
- InternalConfigSettingsFactory.cs
- Types.cs
- List.cs
- ParserExtension.cs
- SynchronizationFilter.cs
- DataServiceContext.cs
- EncryptedXml.cs
- ColorMatrix.cs
- DropDownButton.cs
- Relationship.cs
- DoubleIndependentAnimationStorage.cs
- ValidationManager.cs
- SystemIcons.cs
- PropertyValueChangedEvent.cs
- TableHeaderCell.cs
- GenerateScriptTypeAttribute.cs
- MaterialGroup.cs
- DataReaderContainer.cs
- EventMappingSettings.cs
- TdsParser.cs
- dataSvcMapFileLoader.cs
- RuleSettings.cs
- QilScopedVisitor.cs
- ZipIOLocalFileBlock.cs
- RawStylusInput.cs
- BevelBitmapEffect.cs
- TextStore.cs
- TransactionScope.cs
- CommentGlyph.cs
- GridViewPageEventArgs.cs
- RootDesignerSerializerAttribute.cs
- FlowNode.cs
- UIElementParaClient.cs
- SqlNotificationEventArgs.cs
- CancellationTokenSource.cs
- TextEmbeddedObject.cs
- HebrewCalendar.cs
- EntityDataSourceColumn.cs
- AssemblyCache.cs
- PrintDocument.cs
- Transform.cs
- InputScopeNameConverter.cs
- Header.cs
- NamespaceCollection.cs
- CounterCreationData.cs
- RecordsAffectedEventArgs.cs