kentcb/WPFConverters
소개
대부분의 WPF 또는 Silverlight 애플리케이션에서 사용할 수 있는 범용 바인딩 변환기 모음입니다.
기타 프로젝트What you can do
- WPF 3.5/4.0/4.5 support
- Silverlight 4.0 and 5.0 support
- Extensively unit tested
- Many converters including ExpressionConverter, which allows arbitrary C# expressions to be applied to bound values, and MapConverter, which maps input values to corresponding outputs.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalWPF Converters
This project is no longer actively maintained for two reasons:
- I rarely do WPF development.
- When I do, I rarely require WPF converters.
My recommendation these days is to avoid converters wherever possible. Instead, put conversion logic in your view models where it can be tested and written in a platform-agnostic manner. In those cases where conversion is required purely to support the view (not business logic), converters are still a viable option and those provided by this project are very useful.
What?
This project contains a set of generic binding converters that can be used in most any WPF (or Silverlight) application.
Why?
Just about every non-trivial WPF application requires some custom binding converters. A set of dependable, general-purpose converters greatly reduces the number of converters that you must write yourself.
Where?
The easiest way to get WPF Converters is to install via NuGet:
Install-Package Kent.Boogaart.Converters
How?
<TextBox x:Name="nameTextBox"/>
<TextBlock>
<Run>Your name in upper case is </Run>
<Run Text="{Binding Text, ElementName=amountTextBox, Converter={con:CaseConverter Upper}}"/>
</TextBlock>
Please see the documentation for more details. The source code download also includes sample projects for both WPF and Silverlight.
Who?
WPF Converters was created by Kent Boogaart.
Primary Features
- WPF 3.5/4.0/4.5 support
- Silverlight 4.0 and 5.0 support
- Extensively unit tested
- Many converters including
ExpressionConverter, which allows arbitrary C# expressions to be applied to bound values, andMapConverter, which maps input values to corresponding outputs.
관련 프로젝트 살펴보기
불러오는 중…