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
- ReflectPropertyDescriptor.cs
- GridViewSelectEventArgs.cs
- ServicePointManager.cs
- DataGridViewCheckBoxCell.cs
- WebFaultClientMessageInspector.cs
- SchemaInfo.cs
- HttpPostedFile.cs
- XsltLoader.cs
- SafeRightsManagementQueryHandle.cs
- SelectingProviderEventArgs.cs
- TraceSource.cs
- PhoneCall.cs
- ClaimComparer.cs
- ObjectSet.cs
- ServicesUtilities.cs
- HtmlFormAdapter.cs
- DataGridItem.cs
- TextDocumentView.cs
- EntityContainerEmitter.cs
- ClickablePoint.cs
- XmlConverter.cs
- EntitySetRetriever.cs
- DataSourceHelper.cs
- SqlConnectionStringBuilder.cs
- FormViewInsertedEventArgs.cs
- diagnosticsswitches.cs
- Thickness.cs
- TreeNodeMouseHoverEvent.cs
- CharEnumerator.cs
- EncodingTable.cs
- XmlUTF8TextReader.cs
- Polygon.cs
- WebPartEventArgs.cs
- EntityKey.cs
- MeasurementDCInfo.cs
- EmulateRecognizeCompletedEventArgs.cs
- PartialTrustVisibleAssembly.cs
- SqlConnectionPoolProviderInfo.cs
- Ops.cs
- VectorKeyFrameCollection.cs
- PackageRelationshipCollection.cs
- ProjectionPruner.cs
- SqlDataSourceView.cs
- JsonDataContract.cs
- SqlAliaser.cs
- basevalidator.cs
- CodeFieldReferenceExpression.cs
- Hash.cs
- ArrowControl.xaml.cs
- NativeMethods.cs
- PropertyMapper.cs
- HexParser.cs
- BinaryConverter.cs
- WebPartEditorApplyVerb.cs
- PromptBuilder.cs
- ToolboxItemAttribute.cs
- PolyBezierSegment.cs
- DebugView.cs
- ToolStripScrollButton.cs
- EventHandlersStore.cs
- InvokeGenerator.cs
- DecimalAnimationUsingKeyFrames.cs
- Connector.cs
- DoubleStorage.cs
- FixedPosition.cs
- ObjectQueryProvider.cs
- PasswordPropertyTextAttribute.cs
- NGCUIElementCollectionSerializerAsync.cs
- Geometry3D.cs
- LoginName.cs
- SQLInt16.cs
- BamlLocalizationDictionary.cs
- XmlDocumentType.cs
- SoapReflectionImporter.cs
- MetadataArtifactLoaderFile.cs
- NativeMethodsOther.cs
- ToolStripDropTargetManager.cs
- StylesEditorDialog.cs
- MarkupExtensionParser.cs
- DbConnectionStringBuilder.cs
- StorageModelBuildProvider.cs
- ResourcePermissionBase.cs
- EventItfInfo.cs
- RewritingPass.cs
- ThreadAttributes.cs
- ProviderConnectionPoint.cs
- StringSorter.cs
- SqlBooleanizer.cs
- KerberosRequestorSecurityToken.cs
- InheritanceRules.cs
- TableCellCollection.cs
- RemoveStoryboard.cs
- Int32Rect.cs
- PartManifestEntry.cs
- URI.cs
- HtmlButton.cs
- CustomSignedXml.cs
- _TimerThread.cs
- RunClient.cs
- IsolatedStorageFileStream.cs