WPFToolkit : 분할 버튼의 드롭 다운 버튼 해제 버튼
내가 문제는 내가 버튼 '아래 하나를 사용하지 않으려한다
xmlns:extToolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended"
에서 상속 WPF 분할 버튼을 사용하고 있습니다 (우측 버튼 아래에있는 '아래'에있는 '아래'에있는 'Conflow') 사용자가 버튼의 왼쪽을 클릭하면 오른쪽 버튼이 비활성화되고 버튼 (왼쪽) 배경이 yellow.please로 변경되어야합니다. 이 경우 wpf split 버튼을 사용하여 내용을 드롭 다운하십시오. 어떤 아이디어가 있다면 알려주세요.
<extToolkit:SplitButton x:Name="ABCbutton"
VerticalAlignment="Center"
Command="{Binding ACommand}"
FontSize="16>
<TextBlock HorizontalAlignment="Center"
IsEnabled="{Binding IsEnabled, ElementName=AButton}"
Text="A"/>
<extToolkit:SplitButton.DropDownContent>
<StackPanel>
<Button Command="{Binding BCommand}"
Padding="3"
Style="{DynamicResource
DropDownButtonMenuButton}">
<TextBlock Margin="0,3,6,3"
Text="B"/>
</Button>
<Button Command="{Binding BCommand}"
Padding="3"
Style="{DynamicResource
DropDownButtonMenuButton}">
<TextBlock Margin="0,3,6,3"
HorizontalAlignment="Stretch"
Text="C"/>
</Button>
</StackPanel>
</extToolkit:SplitButton.DropDownContent>
</extToolkit:SplitButton>
안녕하세요, 그것은 화살표 아래처럼 드롭 다운의 내용을 (이 이제는 'X'기호가있는 드롭 다운 콘텐츠 대신 단일 버튼이 있어야합니다. 우리가 어떻게 달성 할 수 있는지 알려주십시오. – user1304153