Sunteți pe pagina 1din 1

The Common directory contains classes and XAML styles that simplify application d

evelopment.
These are not merely convenient, but are required by most Visual Studio project
and item templates.
If you need a variation on one of the styles in StandardStyles it is recommended
that you make a
copy in your own resource dictionary. When right-clicking on a styled control i
n the design
surface the context menu includes an option to Edit a Copy to simplify this proc
ess.
Classes in the Common directory form part of your project and may be further enh
anced to meet your
needs. Care should be taken when altering existing methods and properties as in
compatible changes
will require corresponding changes to code included in a variety of Visual Studi
o templates. For
example, additional pages added to your project are written assuming that the or
iginal methods and
properties in Common classes are still present and that the names of the types h
ave not changed.

S-ar putea să vă placă și