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
- OleDbConnectionPoolGroupProviderInfo.cs
- CompiledQuery.cs
- GlyphsSerializer.cs
- SchemaMapping.cs
- MimeTypeMapper.cs
- NativeMethods.cs
- RequestQueue.cs
- PreservationFileWriter.cs
- XmlnsDictionary.cs
- SessionIDManager.cs
- AttributeAction.cs
- TableCell.cs
- XamlToRtfParser.cs
- ConnectionProviderAttribute.cs
- FigureParaClient.cs
- InheritanceContextChangedEventManager.cs
- XmlObjectSerializerReadContextComplex.cs
- ThreadPool.cs
- RootBrowserWindow.cs
- HandoffBehavior.cs
- Geometry3D.cs
- CommonXSendMessage.cs
- SmiMetaData.cs
- SqlFunctionAttribute.cs
- DesignerVerb.cs
- DataServiceResponse.cs
- IPEndPoint.cs
- OleDbDataAdapter.cs
- TreeNodeConverter.cs
- PrePrepareMethodAttribute.cs
- LinqDataSource.cs
- Base64Encoder.cs
- FontCollection.cs
- SoapAttributes.cs
- TransformerInfo.cs
- BaseCodeDomTreeGenerator.cs
- UniqueConstraint.cs
- ModulesEntry.cs
- DataViewSettingCollection.cs
- ImageCodecInfoPrivate.cs
- FrameworkContentElementAutomationPeer.cs
- CodeDelegateCreateExpression.cs
- EdmMember.cs
- Debug.cs
- Operator.cs
- TextRange.cs
- CacheChildrenQuery.cs
- FileSystemEventArgs.cs
- ToolStripProgressBar.cs
- CodeEventReferenceExpression.cs
- Query.cs
- PresentationTraceSources.cs
- SmtpAuthenticationManager.cs
- ObservableCollection.cs
- Tokenizer.cs
- FontConverter.cs
- FileAuthorizationModule.cs
- _NestedSingleAsyncResult.cs
- ConfigXmlSignificantWhitespace.cs
- SafeLibraryHandle.cs
- Help.cs
- LineServices.cs
- FragmentNavigationEventArgs.cs
- _SslSessionsCache.cs
- UnsafeNativeMethods.cs
- Bezier.cs
- HttpClientProtocol.cs
- CodeGen.cs
- DBDataPermission.cs
- TimelineGroup.cs
- SafeArrayTypeMismatchException.cs
- DefaultParameterValueAttribute.cs
- XmlSubtreeReader.cs
- SqlNode.cs
- MetabaseServerConfig.cs
- ColumnMapProcessor.cs
- SymbolEqualComparer.cs
- ETagAttribute.cs
- XmlSchemaComplexContent.cs
- MsmqIntegrationMessageProperty.cs
- DocumentReferenceCollection.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- StateMachine.cs
- TypeElement.cs
- DataTableMapping.cs
- WebPartCollection.cs
- EmptyReadOnlyDictionaryInternal.cs
- DynamicResourceExtension.cs
- ChtmlMobileTextWriter.cs
- DependencyPropertyHelper.cs
- FormViewPageEventArgs.cs
- GridViewSortEventArgs.cs
- BorderGapMaskConverter.cs
- PageHandlerFactory.cs
- SchemaLookupTable.cs
- WebServiceClientProxyGenerator.cs
- WebHttpSecurityModeHelper.cs
- ListViewSortEventArgs.cs
- sqlpipe.cs
- WebServiceErrorEvent.cs