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
- NavigationPropertyEmitter.cs
- ListViewUpdateEventArgs.cs
- Error.cs
- WebBrowserUriTypeConverter.cs
- CodeChecksumPragma.cs
- PreviewPrintController.cs
- DataGridViewTextBoxCell.cs
- DataGridViewRowsAddedEventArgs.cs
- CompositionTarget.cs
- ModuleConfigurationInfo.cs
- SystemDropShadowChrome.cs
- InputProcessorProfilesLoader.cs
- SaveFileDialog.cs
- DependencyObject.cs
- TextElementCollectionHelper.cs
- Compilation.cs
- storepermissionattribute.cs
- ProfileManager.cs
- DataGridHeaderBorder.cs
- CheckoutException.cs
- KeyboardNavigation.cs
- Helpers.cs
- CellLabel.cs
- OracleException.cs
- KeyedHashAlgorithm.cs
- Rijndael.cs
- Ray3DHitTestResult.cs
- SourceLineInfo.cs
- URLAttribute.cs
- PagedDataSource.cs
- WorkItem.cs
- HttpRuntimeSection.cs
- PolyBezierSegment.cs
- TCPClient.cs
- IdentityNotMappedException.cs
- AsnEncodedData.cs
- SymbolEqualComparer.cs
- XamlSerializationHelper.cs
- AssemblySettingAttributes.cs
- Helper.cs
- ProxyWebPartConnectionCollection.cs
- WebRequest.cs
- DataBindingCollectionConverter.cs
- RegistryExceptionHelper.cs
- WindowsGraphics2.cs
- ColorConverter.cs
- Logging.cs
- RequestNavigateEventArgs.cs
- DataColumnPropertyDescriptor.cs
- SerialPinChanges.cs
- SuppressMessageAttribute.cs
- DesignerTransactionCloseEvent.cs
- ListParagraph.cs
- SingleObjectCollection.cs
- BitHelper.cs
- HostedHttpContext.cs
- MsmqInputChannel.cs
- SystemFonts.cs
- MimeObjectFactory.cs
- FilteredXmlReader.cs
- OracleInfoMessageEventArgs.cs
- SqlUtil.cs
- SecurityManager.cs
- ChannelPoolSettingsElement.cs
- IisTraceListener.cs
- C14NUtil.cs
- HtmlGenericControl.cs
- AbstractDataSvcMapFileLoader.cs
- ResXDataNode.cs
- Utils.cs
- DrawingGroupDrawingContext.cs
- PermissionSet.cs
- ImageKeyConverter.cs
- AssociatedControlConverter.cs
- DataGridColumn.cs
- SwitchAttribute.cs
- Query.cs
- DataBindingHandlerAttribute.cs
- HashCodeCombiner.cs
- SqlRewriteScalarSubqueries.cs
- MimeTypeAttribute.cs
- sapiproxy.cs
- RouteItem.cs
- RemoteWebConfigurationHost.cs
- ComponentSerializationService.cs
- SqlCommandBuilder.cs
- TextBox.cs
- ComContractElement.cs
- ConnectionPoint.cs
- WebPartZone.cs
- DesignConnection.cs
- GlyphInfoList.cs
- WorkflowView.cs
- AttributeSetAction.cs
- SqlDataAdapter.cs
- MultiView.cs
- Transform3DCollection.cs
- XMLSyntaxException.cs
- MemoryStream.cs
- MonikerHelper.cs