2015-07-23から1日間の記事一覧
wpfの、DomainUpDownコントロールを、作ってみました。 まずは、コードです。 using System;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Input;using System.Windows.Controls.Primitives; namespa…
office等で、よく見る、DropDownButtonを、このブログでは、DropDownButtonと、DropDownMenuButtonと、 DDButtonの、3通りの呼び方をします。 それを、wpfで、作ってみました。 まずは、コードです。 using System; using System.Windows;using System.Windo…
NumericUpDownは、wpfのカスタムコントロールの、定番ですよね。 それも、作ってみました。 まずは、コードです。 using System; using System.Windows;using System.Windows.Controls;using System.Windows.Data; using System.Windows.Input; using System…
ワードの下線ボタンって、スプリットボタンでもなく、トグルボタンでもなく、その両方ですよね。 そこで、wpfで、それを作ってみました。(名称は、SplitToggleButtonです。) まずは、コードです。 using System; using System.Windows;using System.Windows.…
wpfのスプリットボタンを作ってみました。 まずは、コードです。 using System; using System.Windows;using System.Windows.Controls;using System.Windows.Data; using System.Windows.Input; using System.Windows.Controls.Primitives; namespace OkaSha…