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
- PersonalizablePropertyEntry.cs
- XmlSchemaCompilationSettings.cs
- basecomparevalidator.cs
- documentsequencetextpointer.cs
- SmiRecordBuffer.cs
- FilterQuery.cs
- DataServiceResponse.cs
- ResourceSet.cs
- ThreadStartException.cs
- PolicyException.cs
- Scene3D.cs
- Substitution.cs
- FileStream.cs
- FontWeights.cs
- FloaterBaseParaClient.cs
- ToolStripPanel.cs
- LOSFormatter.cs
- WeakReferenceKey.cs
- BitmapImage.cs
- _SafeNetHandles.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- PointLightBase.cs
- DataServiceRequestArgs.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- SHA256.cs
- Utils.cs
- SessionEndingCancelEventArgs.cs
- ShaperBuffers.cs
- GlobalizationSection.cs
- MemoryRecordBuffer.cs
- DesignTableCollection.cs
- CodeTypeDeclaration.cs
- ExtensionWindow.cs
- ValueConversionAttribute.cs
- ExclusiveTcpTransportManager.cs
- Win32.cs
- RenderingBiasValidation.cs
- HtmlTernaryTree.cs
- BindingSource.cs
- CriticalFinalizerObject.cs
- UdpChannelListener.cs
- SimpleType.cs
- MetadataWorkspace.cs
- TextSearch.cs
- OdbcUtils.cs
- FtpWebResponse.cs
- DynamicAttribute.cs
- DBConnection.cs
- RegexStringValidator.cs
- SamlSerializer.cs
- SecurityDocument.cs
- XmlAutoDetectWriter.cs
- WSDualHttpBinding.cs
- AsymmetricAlgorithm.cs
- ProcessHostServerConfig.cs
- HttpVersion.cs
- TreePrinter.cs
- PixelShader.cs
- QilScopedVisitor.cs
- CollectionBuilder.cs
- RegistryPermission.cs
- CharEnumerator.cs
- AnnotationHighlightLayer.cs
- Attributes.cs
- ProjectionPlanCompiler.cs
- WebPermission.cs
- Method.cs
- MemberHolder.cs
- SqlNode.cs
- HtmlInputPassword.cs
- MsdtcClusterUtils.cs
- TriggerAction.cs
- ElementUtil.cs
- DataGridViewRowHeaderCell.cs
- PrimitiveSchema.cs
- BatchParser.cs
- SortedList.cs
- HtmlEncodedRawTextWriter.cs
- MembershipPasswordException.cs
- HostedBindingBehavior.cs
- FormatterServices.cs
- ProfessionalColors.cs
- PrintPreviewGraphics.cs
- PrivilegedConfigurationManager.cs
- SchemaNames.cs
- TemplateBindingExtension.cs
- MonitorWrapper.cs
- _ScatterGatherBuffers.cs
- TraceXPathNavigator.cs
- X509SecurityTokenAuthenticator.cs
- XmlNamespaceDeclarationsAttribute.cs
- DefaultPerformanceCounters.cs
- EditorBrowsableAttribute.cs
- CacheChildrenQuery.cs
- CommandTreeTypeHelper.cs
- UnsafeNativeMethods.cs
- BitmapEffect.cs
- SQLDouble.cs
- CqlLexerHelpers.cs
- RadioButtonStandardAdapter.cs