Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chitoku-k/chipmunk

WPF Behaviors and Controls
https://github.com/chitoku-k/chipmunk

win32 wpf xaml

Last synced: 14 days ago
JSON representation

WPF Behaviors and Controls

Awesome Lists containing this project

README

        

Chipmunk
========

Chipmunk is a set of WPF attached behaviors that provide attached properties.
Simply add a reference to the Chipmunk.dll and specify properties all via XAML.
You need neither write any code-behind nor make a reference to the Expression Blend SDK.

Sample

Sample

## Features

### Window Behavior
- Completely full control of System Menu
- Enables or disables the minimize button, maximize button, help button, and close button independently with one another
- Automatically processes Window Message if needed.
- Hides an icon on the caption bar (title bar)
- Enables DWM (Desktop Window Manager) Aero Composition
- Applies extended window frame settings if supported
- Makes a specified area window-draggable through XAML
- Supports automatic enable/disable the feature when DWM is turned on/off

### TextBox Behavior
- Provides a property of numeric validation of System.Windows.Controls.TextBox
- Just specify whatever value available: Integer, decimal, negatives and/or combinations with each other

### PasswordBox Behavior
- Provides a bindable PasswordBox.Password property to help MVVM

### NumericUpDown Control
- A control that has buttons to increase or decrease values of the text box

## Usage

### WindowBehavior
```xaml

```

- IsIconVisible (bool)
- Shows or hides the icon on windows
This value cannot be changed after the window is initialized
- IsMinimizeButtonEnabled (bool)
- IsMaximizeButtonEnabled (bool)
- IsHelpButtonEnabled (bool)
- IsCloseButtonEnabled (bool)
- IsControlButtonVisible (bool)
- Enables or disables the system menu on windows
- DwmComposition (Chipmunk.DwmCompositionOption)
- Sets the DWM Aero Composition settings
Values are [Left],[Top],[Right],[Bottom],[BackgroundColor]
- NonClientArea (Window)
- Sets a window-draggable area
In XAML, you can use binding to the window

### TextBoxBehavior
```xaml

```

- ValidationType (Chipmunk.TextBoxValidationType)
- Sets an automatic validation to the TextBox
You can make combinations delimitted by ',' with following values:
- Integer
- Decimal
- Negative

### PasswordBoxBehavior
```xaml

```

- BindsPassword (bool)
- Sets whether to bind Password property
- Password (string)
- Sets binding to the Password propery
- Specify Mode property of the binding to TwoWay (default)

### NumericUpDown
```xaml

```

(Properties of System.Windows.Controls.Primitives.RangeBase are available)