Git Product home page Git Product logo

bootstrap.wpf's Introduction

WPF.Bootstrap

A Bootstrap Theme for WPF

NuGet Version and Downloads count

How to Use

Install-Package Bootstrap.Wpf

Put the following code in your App.xaml or MainWindow.xaml or any other window which use the resourse, for example, in App.xaml

<Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="/WPF.Bootstrap;component/Themes/Default.xaml"/>
        </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
</Application.Resources>

Now you can use the controls, for example:

    <bootstrap:BootstrapPanel Margin="10" Type="Default" Header="Default Panel">
        <TextBlock>content</TextBlock>
        <bootstrap:BootstrapPanel.Footer>
            <TextBlock>footer</TextBlock>
        </bootstrap:BootstrapPanel.Footer>
    </bootstrap:BootstrapPanel>

Remember to add xmlns:bootstrap="http://github.com/scheshan/bootstrap"

Use Wpf.Bootstrap in a WPF User Control Library (.dll) project

If the solution contains one .exe project and several other WPF User Control Library (.dll) projects, the Wpf.Bootstrap package should be added to both the .dll projects and the exe project, even if the .exe project does not use Wpf.Bootstrap directly.

Project History

This project originally is a fork from scheshan/WPF.Bootstrap. This project uses a different nuget pakcage id: Bootstrap.Wpf. (Could you see the difference?)

Revision History

v0.0.5:

Added TabInPanel control. (previous TabPanel is renamed to TabNavi)

TabPanel

v0.0.4:

Added TabPanel:

You can use TabPanel alone with as a navigation control. You don't need to bind it to tab content.

v0.0.3:

1)Remove dependency of Microsoft.windows.shell

After the removal of above dependencies, the dialog/window stype will be managed by the OS (Win7 or Win10). Thereafter this project will mainly focus on the style/theme of content of window or controls.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.