Click here to Skip to main content
15,891,900 members
Articles / Desktop Programming / WPF

WPF Docking Library

Rate me:
Please Sign up or sign in to vote.
4.78/5 (85 votes)
17 Jul 2007CPOL3 min read 1M   24.4K   317  
A WPF library to easily integrate Windows docking features in applications like VS
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{FA274CD2-57BB-4EB0-B101-A562ADB1685E}</ProjectGuid>
    <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <RootNamespace>DockingLibrary</RootNamespace>
    <AssemblyName>DockingLibrary</AssemblyName>
    <WarningLevel>4</WarningLevel>
    <OutputType>library</OutputType>
    <ApplicationVersion>1.0.0.*</ApplicationVersion>
    <!-- Most people will use Publish dialog in Visual Studio to increment this -->
    <MinFrameworkVersionRequired>3.0</MinFrameworkVersionRequired>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>.\bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugSymbols>false</DebugSymbols>
    <Optimize>true</Optimize>
    <OutputPath>.\bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
    <Reference Include="WindowsBase" />
    <Reference Include="PresentationCore" />
    <Reference Include="PresentationFramework" />
    <Reference Include="UIAutomationProvider" />
    <Reference Include="UIAutomationTypes" />
    <Reference Include="ReachFramework" />
    <Reference Include="System.Printing" />
    <Reference Include="System.ServiceModel" />
    <Reference Include="System.Runtime.Serialization" />
    <Reference Include="System.IdentityModel" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="DockableContentTabItemsPanel.cs" />
    <Compile Include="DockablePane.xaml.cs">
      <SubType>Code</SubType>
      <DependentUpon>DockablePane.xaml</DependentUpon>
    </Compile>
    <Compile Include="DockablePaneGroup.cs" />
    <Compile Include="DockingButton.cs" />
    <Compile Include="DockingButtonGroup.cs" />
    <Compile Include="DockableContent.cs" />
    <Compile Include="DockingGrid.xaml.cs">
      <SubType>Code</SubType>
      <DependentUpon>DockingGrid.xaml</DependentUpon>
    </Compile>
    <Compile Include="DockManager.xaml.cs">
      <SubType>Code</SubType>
      <DependentUpon>DockManager.xaml</DependentUpon>
    </Compile>
    <Compile Include="DockPanelSplitter.cs" />
    <Compile Include="DocumentContent.cs" />
    <Compile Include="DocumentsPane.xaml.cs">
      <SubType>Code</SubType>
      <DependentUpon>DocumentsPane.xaml</DependentUpon>
    </Compile>
    <Compile Include="DragPaneServices.cs" />
    <Compile Include="FloatingWindow.xaml.cs">
      <SubType>Code</SubType>
      <DependentUpon>FloatingWindow.xaml</DependentUpon>
    </Compile>
    <Compile Include="FloatingWindowHostedPane.cs" />
    <Compile Include="IDropSurface.cs" />
    <Compile Include="ILayoutSerializable.cs" />
    <Compile Include="ManagedContent.cs" />
    <Compile Include="OverlayDockablePane.cs" />
    <Compile Include="OverlayWindow.xaml.cs">
      <SubType>Code</SubType>
      <DependentUpon>OverlayWindow.xaml</DependentUpon>
    </Compile>
    <Compile Include="Pane.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <EmbeddedResource Include="Properties\Resources.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <SubType>Designer</SubType>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
    </EmbeddedResource>
    <None Include="Properties\Settings.settings">
      <Generator>SettingsSingleFileGenerator</Generator>
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
    </None>
    <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>
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
      <DependentUpon>Settings.settings</DependentUpon>
    </Compile>
    <AppDesigner Include="Properties\" />
  </ItemGroup>
  <ItemGroup>
    <Page Include="DockablePane.xaml" />
    <Page Include="DockingGrid.xaml" />
    <Page Include="DockManager.xaml" />
    <Page Include="DocumentsPane.xaml" />
    <Page Include="FloatingWindow.xaml" />
    <Page Include="OverlayWindow.xaml" />
    <Page Include="themes\DockingLibraryResources.xaml" />
    <Page Include="themes\generic.xaml">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Page>
  </ItemGroup>
  <ItemGroup>
    <Resource Include="images\DockPane.PNG" />
  </ItemGroup>
  <ItemGroup>
    <Resource Include="images\DockLeft.PNG" />
  </ItemGroup>
  <ItemGroup>
    <Resource Include="images\DockBottom.PNG" />
    <Resource Include="images\DockRight.PNG" />
    <Resource Include="images\DockTop.PNG" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <Import Project="$(MSBuildBinPath)\Microsoft.WinFX.targets" />
</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
Systems Engineer
Italy Italy
I bought my first computer in Nov 1991, 21st and I started programming with QBasic under MSDOS.
Today my main interest is developping applications with .NET and HTML5 stack.

Comments and Discussions