Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/chitoku-k/chipmunk
- Owner: chitoku-k
- License: mit
- Created: 2014-05-17T16:54:04.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-06T16:55:27.000Z (about 7 years ago)
- Last Synced: 2023-06-02T09:35:15.680Z (over 1 year ago)
- Topics: win32, wpf, xaml
- Language: C#
- Size: 41 KB
- Stars: 11
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.## 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)