Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
楕円の一部で分割された 2 つの背景色のボタンが必要です。このような:
2人がこれを実装する最良の方法は何ですか? ウェブ上で見つけることができません:(
ボタンのコントロール テンプレートに四角形と楕円形を配置します ( Expression BlendのSimpleButtonスタイルから始めることをお勧めします)。
次に、ClipToBoundsをtrue親の境界線に設定して、黒い境界線の外側の部分を非表示にすることができます。
true