2012-01-27 4 views

답변

0

아니오. 없습니다 아래 예제에서 titleTranslator 변환기는이 버튼의 텍스트를 번역하는 데 사용됩니다.

<Style x:Key="myStyle" TargetType="{x:Type Button}"> 
    <Setter Property="Template"> 
     <Setter.Value> 
      <ControlTemplate TargetType="{x:Type Button}"> 
       <Border CornerRadius="6 6 0 0" VerticalAlignment="Center" Margin="5"> 
        <TextBlock Text="{Binding Converter={StaticResource titleTranslator}}" FontSize="44" FontWeight="Bold" Foreground="{Binding Foreground, Converter={StaticResource brushConverter}}" /> 
       </Border> 
      </ControlTemplate> 
     </Setter.Value> 
    </Setter> 
</Style> 
+0

감사합니다. 하지만 MessageBox 창에 대해 물어 보았습니다. http://msdn.microsoft.com/es-es/library/system.windows.forms.messagebox(v=vs.80).aspx –

2

메시지 상자 단추를 지역화 할 수 없습니다. 그들은 OS의 언어를 따른다. Win32 API 해킹이있을 수 있지만 경험이 없습니다.