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
- NGCSerializerAsync.cs
- PartialTrustVisibleAssemblyCollection.cs
- OracleParameterBinding.cs
- ManagementOptions.cs
- Peer.cs
- NameSpaceExtractor.cs
- EntityViewGenerator.cs
- UniqueIdentifierService.cs
- CodePageUtils.cs
- BindingWorker.cs
- OSFeature.cs
- ProcessInfo.cs
- XPathAncestorQuery.cs
- XPathParser.cs
- CompatibleComparer.cs
- ConfigXmlAttribute.cs
- FixedSOMTableRow.cs
- Script.cs
- AddressingVersion.cs
- StatusStrip.cs
- XmlNamespaceDeclarationsAttribute.cs
- Material.cs
- XmlEventCache.cs
- CursorConverter.cs
- Matrix.cs
- WindowsSspiNegotiation.cs
- MemoryPressure.cs
- SspiSafeHandles.cs
- XmlObjectSerializerWriteContextComplex.cs
- NetSectionGroup.cs
- Socket.cs
- DataError.cs
- GridSplitterAutomationPeer.cs
- RichTextBox.cs
- XmlSchemaInferenceException.cs
- COM2Enum.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- ObjectAnimationBase.cs
- WmlTextViewAdapter.cs
- RecordBuilder.cs
- Geometry3D.cs
- HttpProfileGroupBase.cs
- CrossAppDomainChannel.cs
- InstanceCompleteException.cs
- DataGridPagingPage.cs
- AutoGeneratedFieldProperties.cs
- BindingMemberInfo.cs
- TypeSystem.cs
- VectorKeyFrameCollection.cs
- PersistencePipeline.cs
- ErrorWebPart.cs
- MetadataResolver.cs
- HtmlInputText.cs
- ModifierKeysConverter.cs
- SQLStringStorage.cs
- SqlStatistics.cs
- TransportBindingElement.cs
- DesignTimeParseData.cs
- XmlArrayItemAttribute.cs
- DocumentViewer.cs
- MulticastOption.cs
- MediaContext.cs
- Stackframe.cs
- MatchingStyle.cs
- UnsafeNativeMethods.cs
- HtmlHead.cs
- EventLogWatcher.cs
- AnnotationResource.cs
- DoubleLink.cs
- AmbientProperties.cs
- AttachmentCollection.cs
- NetMsmqBindingElement.cs
- AxisAngleRotation3D.cs
- WebPartEditorOkVerb.cs
- AsyncOperationManager.cs
- SqlDataReader.cs
- LinqDataSourceEditData.cs
- UnionCqlBlock.cs
- DataGridViewSelectedCellCollection.cs
- SafeSecurityHandles.cs
- PropertyGridCommands.cs
- SelectedDatesCollection.cs
- OpCodes.cs
- ConnectionsZone.cs
- NonSerializedAttribute.cs
- String.cs
- CellTreeNode.cs
- Vector3DAnimationBase.cs
- Oid.cs
- ExtensibleClassFactory.cs
- ExceptionUtil.cs
- DataBoundControlParameterTarget.cs
- HwndHost.cs
- CheckBoxList.cs
- tooltip.cs
- Psha1DerivedKeyGenerator.cs
- ControlOperationInvoker.cs
- Utilities.cs
- DataServiceKeyAttribute.cs
- ColumnTypeConverter.cs