Click here to Skip to main content
Click here to Skip to main content

Building WPF Applications with Self-Tracking Entity Generator - Project Setup

By , 20 Feb 2012
 
SchoolSample_20111201.zip
SchoolSample
Assemblies
ComponentModel.Composition.Initialization.Desktop
Microsoft
ComponentModel
Composition
Hosting
Internal
Properties
System
ComponentModel
Composition
Hosting
GalaSoft.MvvmLight.Extras.WPF4.dll
GalaSoft.MvvmLight.WPF4.dll
Moq.dll
System.Windows.Controls.Data.Input
Common
Properties
Settings.settings
themes
Validation
System.Windows.Interactivity.dll
WPFToolkit.Extended.dll
Database
Local.testsettings
SchoolSample.Common
Model
Properties
Resource
SchoolSample.Data.Wcf
EntityModel
SchoolModel.edmx
Properties
Validation
SchoolSample.Data
EntityModel
Properties
Validation
SchoolSample.Model
Properties
SchoolSample.ViewModel
Properties
SchoolSample.vsmdi
SchoolSample.Wcf
Properties
SchoolSample.Wcf.csproj.user
Service
SchoolService.svc
SchoolSample.WCFService
Properties
SchoolSample.WCFService.csproj.user
Service References
SchoolService
configuration.svcinfo
configuration91.svcinfo
Reference.svcmap
SchoolService.disco
SchoolService.wsdl
SchoolSample
Asset
Control
Properties
Settings.settings
SchoolSample.csproj.user
View
Test.SchoolSample.Model
Properties
Test References
SchoolSample.Model.accessor
Test.SchoolSample.ViewModel
Properties
Test References
SchoolSample.ViewModel.accessor
TraceAndTestImpact.testsettings
SchoolSample_20120117.zip
GalaSoft.MvvmLight.Extras.WPF4.dll
GalaSoft.MvvmLight.WPF4.dll
Moq.dll
Settings.settings
System.Windows.Interactivity.dll
WPFToolkit.Extended.dll
Local.testsettings
SchoolModel.edmx
SchoolSample.vsmdi
SchoolSample.Wcf.csproj.user
SchoolService.svc
SchoolSample.WCFService.csproj.user
configuration.svcinfo
configuration91.svcinfo
Reference.svcmap
SchoolService.disco
SchoolService.wsdl
Settings.settings
SchoolSample.csproj.user
SchoolSample.Model.accessor
SchoolSample.ViewModel.accessor
TraceAndTestImpact.testsettings
SchoolSample_20120216.zip
GalaSoft.MvvmLight.Extras.WPF4.dll
GalaSoft.MvvmLight.WPF4.dll
Moq.dll
Settings.settings
System.Windows.Interactivity.dll
WPFToolkit.Extended.dll
Local.testsettings
SchoolModel.edmx
SchoolSample.vsmdi
SchoolSample.Wcf.csproj.user
SchoolService.svc
SchoolSample.WCFService.csproj.user
configuration.svcinfo
configuration91.svcinfo
Reference.svcmap
SchoolService.disco
SchoolService.wsdl
Settings.settings
SchoolSample.csproj.user
SchoolSample.Model.accessor
SchoolSample.ViewModel.accessor
TraceAndTestImpact.testsettings
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.

using System.Diagnostics;

namespace System.Windows.Controls
{
    internal static class VisualStates
    {
        #region GroupValidation

        /// <summary>
        /// VSM Group for validation, containing focus details.  These details are not orthogonal and thus were combined.   See TextBox validation for precedence.
        /// </summary>
        public const string GroupValidation = "ValidationStates";

        /// <summary>
        /// VSM State for Valid
        /// </summary>
        public const string StateValid = "Valid";

        /// <summary>
        /// VSM STate for Invalid
        /// </summary>
        public const string StateInvalid = "Invalid";

        /// <summary>
        /// VSM State for Valid and Focused (DescriptionViewer specific)
        /// </summary>
        public const string StateValidFocused = "ValidFocused";

        /// <summary>
        /// VSM State for Valid and Unfocused (DescriptionViewer specific)
        /// </summary>
        public const string StateValidUnfocused = "ValidUnfocused";

        /// <summary>
        /// VSM State for Invalid and Focused (DescriptionViewer specific)
        /// </summary>
        public const string StateInvalidFocused = "InvalidFocused";

        /// <summary>
        /// VSM State for Invalid and Focused (DescriptionViewer specific)
        /// </summary>
        public const string StateInvalidUnfocused = "InvalidUnfocused";

        /// <summary>
        /// VSM State for no errors (ValidationSummary specific)
        /// </summary>
        public const string StateEmpty = "Empty";

        /// <summary>
        /// VSM State for containing errors (ValidationSummary specific)
        /// </summary>
        public const string StateHasErrors = "HasErrors";

        #endregion GroupValidation

        #region GroupCommon

        /// <summary>
        /// VSM Group for common states, such as Normal or Disabled
        /// </summary>
        public const string GroupCommon = "CommonStates";

        /// <summary>
        /// VSM state for Normal (enabled)
        /// </summary>
        public const string StateNormal = "Normal";

        /// <summary>
        /// VSM state for Disabled
        /// </summary>
        public const string StateDisabled = "Disabled";

        #endregion GroupCommon

        #region GroupRequired

        /// <summary>
        /// VSM group for required states
        /// </summary>
        public const string GroupRequired = "RequiredStates";

        /// <summary>
        /// VSM state for not required
        /// </summary>
        public const string StateNotRequired = "NotRequired";

        /// <summary>
        /// VSM state for required
        /// </summary>
        public const string StateRequired = "Required";

        #endregion GroupRequired

        #region GroupDescription

        /// <summary>
        /// VSM group for description states
        /// </summary>
        public const string GroupDescription = "DescriptionStates";

        /// <summary>
        /// VSM state for no description defined
        /// </summary>
        public const string StateNoDescription = "NoDescription";

        /// <summary>
        /// VSM state for having a description defined
        /// </summary>
        public const string StateHasDescription = "HasDescription";

        #endregion GroupDescription
    }
}

By viewing downloads associated with this article you agree to the Terms of use and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Weidong Shen
Software Developer (Senior)
United States United States
Weidong has been an information system professional since 1990. He has a Master's degree in Computer Science, and is currently a MCSD .NET

Permalink | Advertise | Privacy | Mobile
Web03 | 2.6.130619.1 | Last Updated 20 Feb 2012
Article Copyright 2011 by Weidong Shen
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid