Click here to Skip to main content
15,881,882 members
Articles / Desktop Programming / WPF

Style Browser for WPF

Rate me:
Please Sign up or sign in to vote.
4.82/5 (9 votes)
25 Apr 2011CPOL5 min read 37K   2.6K   31  
Application for previewing XAML styles in WPF.
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <ProductVersion>8.0.30703</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{B94C2496-F9F5-4C3B-AB6F-D9CBC6DDEFC5}</ProjectGuid>
    <OutputType>WinExe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>StyleBrowser</RootNamespace>
    <AssemblyName>StyleBrowser</AssemblyName>
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <TargetFrameworkProfile>
    </TargetFrameworkProfile>
    <FileAlignment>512</FileAlignment>
    <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    <PlatformTarget>x86</PlatformTarget>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    <PlatformTarget>x86</PlatformTarget>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Xml" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Core" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="System.Xaml">
      <RequiredTargetFramework>4.0</RequiredTargetFramework>
    </Reference>
    <Reference Include="WindowsBase" />
    <Reference Include="PresentationCore" />
    <Reference Include="PresentationFramework" />
  </ItemGroup>
  <ItemGroup>
    <ApplicationDefinition Include="App.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </ApplicationDefinition>
    <Compile Include="Classes\String.cs" />
    <Compile Include="Controls\StyleItem.xaml.cs">
      <DependentUpon>StyleItem.xaml</DependentUpon>
    </Compile>
    <Compile Include="Controls\StyleLabel.xaml.cs">
      <DependentUpon>StyleLabel.xaml</DependentUpon>
    </Compile>
    <Page Include="bubble.theme.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="Controls\StyleItem.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="Controls\SystemMenu.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="Controls\TextWindow.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="flat.theme.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="MainWindow.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Compile Include="App.xaml.cs">
      <DependentUpon>App.xaml</DependentUpon>
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="Controls\SystemMenu.xaml.cs">
      <DependentUpon>SystemMenu.xaml</DependentUpon>
    </Compile>
    <Compile Include="Controls\TextWindow.xaml.cs">
      <DependentUpon>TextWindow.xaml</DependentUpon>
    </Compile>
    <Compile Include="MainWindow.xaml.cs">
      <DependentUpon>MainWindow.xaml</DependentUpon>
      <SubType>Code</SubType>
    </Compile>
    <Page Include="Controls\StyleLabel.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="Style\Style.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="Style\SystemButtons.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Properties\AssemblyInfo.cs">
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Resources.resx</DependentUpon>
    </Compile>
    <Compile Include="Properties\Settings.Designer.cs">
      <AutoGen>True</AutoGen>
      <DependentUpon>Settings.settings</DependentUpon>
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
    </Compile>
    <EmbeddedResource Include="Properties\Resources.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
    </EmbeddedResource>
    <None Include="app.config" />
    <None Include="Images\5465464.psd" />
    <None Include="Properties\Settings.settings">
      <Generator>SettingsSingleFileGenerator</Generator>
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
    </None>
    <AppDesigner Include="Properties\" />
  </ItemGroup>
  <ItemGroup>
    <Resource Include="Images\a.png" />
    <Resource Include="Images\Actual.png" />
    <Resource Include="Images\AdjustIcon.png" />
    <Resource Include="Images\admin.png" />
    <Resource Include="Images\ball_blue.png" />
    <Resource Include="Images\ball_green.png" />
    <Resource Include="Images\ball_red.png" />
    <Resource Include="Images\ball_yellow.png" />
    <Resource Include="Images\boltzmann.jpg" />
    <Resource Include="Images\c.png" />
    <Resource Include="Images\canceL.png" />
    <Resource Include="Images\closeCross.png" />
    <Resource Include="Images\darwin.jpg" />
    <Resource Include="Images\detach.png" />
    <Resource Include="Images\EditCriteriaIcon.png" />
    <Resource Include="Images\einstein.jpg" />
    <Resource Include="Images\FitAll.png" />
    <Resource Include="Images\Folder.png" />
    <Resource Include="Images\FullScreen.png" />
    <Resource Include="Images\globalMap.png" />
    <Resource Include="Images\graph_icon.png" />
    <Resource Include="Images\h.png" />
    <Resource Include="Images\hawking.jpg" />
    <Resource Include="Images\help.png" />
    <Resource Include="Images\icon.png" />
    <Resource Include="Images\icon_txt.gif" />
    <Resource Include="Images\icon_txt.png" />
    <Resource Include="Images\info.png" />
    <Resource Include="Images\maxwell.jpg" />
    <Resource Include="Images\noVideoThumb.png" />
    <Resource Include="Images\p.png" />
    <Resource Include="Images\penrose.gif" />
    <Resource Include="Images\PresentationClose.png" />
    <Resource Include="Images\PresentationNext.png" />
    <Resource Include="Images\PresentationPrev.png" />
    <Resource Include="Images\PresentationStop.png" />
    <Resource Include="Images\presentContent.png" />
    <Resource Include="Images\presentGroup.png" />
    <Resource Include="Images\RaidLogo.ico" />
    <Resource Include="Images\rees.jpg" />
    <Resource Include="Images\robot-model_size_800x600.jpg" />
    <Resource Include="Images\star.png" />
    <Resource Include="Images\startSlide.png" />
    <Resource Include="Images\thorne.jpg" />
    <Resource Include="Images\unknown.gif" />
    <Resource Include="Images\unknown.png" />
    <Resource Include="Images\watson.jpg" />
    <Resource Include="Images\zoomin.png" />
    <Resource Include="Images\zoomout.png" />
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>

By viewing downloads associated with this article you agree to the Terms of Service 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)


Written By
Software Developer (Senior) Luxoft
Russian Federation Russian Federation
My developers career starts in 1995, when my father bought my first PC and gave my book "QBasic".
Than it was Pascal, Delphi, C++ Builder...But when I began to work with .Net in 2008, I understand, that this technology is exactly what I need Smile | :)

For now, I am a Senior .Net developer at Luxoft.

P.S. Right now I am extremly looking for a legal job offer from USA.

Comments and Discussions