|
371 | 371 | Content="{TemplateBinding Content}"
|
372 | 372 | ContentTemplate="{TemplateBinding ContentTemplate}"
|
373 | 373 | ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"
|
374 |
| - ContentStringFormat="{TemplateBinding ContentTemplateSelector}"/> |
| 374 | + ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
| 375 | + FontFamily="{TemplateBinding FontFamily}" |
| 376 | + FontSize="{TemplateBinding FontSize}" |
| 377 | + FontStretch="{TemplateBinding FontStretch}" |
| 378 | + FontStyle="{TemplateBinding FontStyle}" |
| 379 | + FontWeight="{TemplateBinding FontWeight}"/> |
375 | 380 | </ControlTemplate>
|
376 | 381 | </Setter.Value>
|
377 | 382 | </Setter>
|
|
436 | 441 | Content="{TemplateBinding Content}"
|
437 | 442 | ContentTemplate="{TemplateBinding ContentTemplate}"
|
438 | 443 | ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"
|
439 |
| - ContentStringFormat="{TemplateBinding ContentTemplateSelector}"/> |
| 444 | + ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
| 445 | + FontFamily="{TemplateBinding FontFamily}" |
| 446 | + FontSize="{TemplateBinding FontSize}" |
| 447 | + FontStretch="{TemplateBinding FontStretch}" |
| 448 | + FontStyle="{TemplateBinding FontStyle}" |
| 449 | + FontWeight="{TemplateBinding FontWeight}"/> |
440 | 450 | </ControlTemplate>
|
441 | 451 | </Setter.Value>
|
442 | 452 | </Setter>
|
|
455 | 465 | Content="{TemplateBinding Content}"
|
456 | 466 | ContentTemplate="{TemplateBinding ContentTemplate}"
|
457 | 467 | ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"
|
458 |
| - ContentStringFormat="{TemplateBinding ContentTemplateSelector}"/> |
| 468 | + ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
| 469 | + FontFamily="{TemplateBinding FontFamily}" |
| 470 | + FontSize="{TemplateBinding FontSize}" |
| 471 | + FontStretch="{TemplateBinding FontStretch}" |
| 472 | + FontStyle="{TemplateBinding FontStyle}" |
| 473 | + FontWeight="{TemplateBinding FontWeight}"/> |
459 | 474 | </ControlTemplate>
|
460 | 475 | </Setter.Value>
|
461 | 476 | </Setter>
|
|
474 | 489 | Content="{TemplateBinding Content}"
|
475 | 490 | ContentTemplate="{TemplateBinding ContentTemplate}"
|
476 | 491 | ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"
|
477 |
| - ContentStringFormat="{TemplateBinding ContentTemplateSelector}"/> |
| 492 | + ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
| 493 | + FontFamily="{TemplateBinding FontFamily}" |
| 494 | + FontSize="{TemplateBinding FontSize}" |
| 495 | + FontStretch="{TemplateBinding FontStretch}" |
| 496 | + FontStyle="{TemplateBinding FontStyle}" |
| 497 | + FontWeight="{TemplateBinding FontWeight}"/> |
478 | 498 | </ControlTemplate>
|
479 | 499 | </Setter.Value>
|
480 | 500 | </Setter>
|
|
493 | 513 | Content="{TemplateBinding Content}"
|
494 | 514 | ContentTemplate="{TemplateBinding ContentTemplate}"
|
495 | 515 | ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"
|
| 516 | + FontFamily="{TemplateBinding FontFamily}" |
| 517 | + FontSize="{TemplateBinding FontSize}" |
| 518 | + FontStretch="{TemplateBinding FontStretch}" |
| 519 | + FontStyle="{TemplateBinding FontStyle}" |
| 520 | + FontWeight="{TemplateBinding FontWeight}" |
496 | 521 | ContentStringFormat="{TemplateBinding ContentTemplateSelector}"/>
|
497 | 522 | </ControlTemplate>
|
498 | 523 | </Setter.Value>
|
|
512 | 537 | Content="{TemplateBinding Content}"
|
513 | 538 | ContentTemplate="{TemplateBinding ContentTemplate}"
|
514 | 539 | ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"
|
| 540 | + FontFamily="{TemplateBinding FontFamily}" |
| 541 | + FontSize="{TemplateBinding FontSize}" |
| 542 | + FontStretch="{TemplateBinding FontStretch}" |
| 543 | + FontStyle="{TemplateBinding FontStyle}" |
| 544 | + FontWeight="{TemplateBinding FontWeight}" |
515 | 545 | ContentStringFormat="{TemplateBinding ContentTemplateSelector}"/>
|
516 | 546 | </ControlTemplate>
|
517 | 547 | </Setter.Value>
|
|
527 | 557 | <Setter.Value>
|
528 | 558 | <ControlTemplate TargetType="{x:Type ListBoxItem}">
|
529 | 559 | <RadioButton Style="{StaticResource MaterialDesignChoiceChipRadioButton}"
|
530 |
| - IsChecked="{Binding IsSelected, RelativeSource={RelativeSource Mode=TemplatedParent}, Mode=TwoWay}" |
531 |
| - Content="{TemplateBinding Content}" |
532 |
| - ContentTemplate="{TemplateBinding ContentTemplate}" |
533 |
| - ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" |
534 |
| - ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
535 |
| - GroupName="{Binding RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}"/> |
| 560 | + IsChecked="{Binding IsSelected, RelativeSource={RelativeSource Mode=TemplatedParent}, Mode=TwoWay}" |
| 561 | + Content="{TemplateBinding Content}" |
| 562 | + ContentTemplate="{TemplateBinding ContentTemplate}" |
| 563 | + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" |
| 564 | + ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
| 565 | + FontFamily="{TemplateBinding FontFamily}" |
| 566 | + FontSize="{TemplateBinding FontSize}" |
| 567 | + FontStretch="{TemplateBinding FontStretch}" |
| 568 | + FontStyle="{TemplateBinding FontStyle}" |
| 569 | + FontWeight="{TemplateBinding FontWeight}" |
| 570 | + GroupName="{Binding RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}"/> |
536 | 571 | </ControlTemplate>
|
537 | 572 | </Setter.Value>
|
538 | 573 | </Setter>
|
|
548 | 583 | <Setter.Value>
|
549 | 584 | <ControlTemplate TargetType="{x:Type ListBoxItem}">
|
550 | 585 | <RadioButton Style="{StaticResource MaterialDesignChoiceChipPrimaryRadioButton}"
|
551 |
| - IsChecked="{Binding IsSelected, RelativeSource={RelativeSource Mode=TemplatedParent}, Mode=TwoWay}" |
552 |
| - Content="{TemplateBinding Content}" |
553 |
| - ContentTemplate="{TemplateBinding ContentTemplate}" |
554 |
| - ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" |
555 |
| - ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
556 |
| - GroupName="{Binding Name, RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}"/> |
| 586 | + IsChecked="{Binding IsSelected, RelativeSource={RelativeSource Mode=TemplatedParent}, Mode=TwoWay}" |
| 587 | + Content="{TemplateBinding Content}" |
| 588 | + ContentTemplate="{TemplateBinding ContentTemplate}" |
| 589 | + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" |
| 590 | + ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
| 591 | + FontFamily="{TemplateBinding FontFamily}" |
| 592 | + FontSize="{TemplateBinding FontSize}" |
| 593 | + FontStretch="{TemplateBinding FontStretch}" |
| 594 | + FontStyle="{TemplateBinding FontStyle}" |
| 595 | + FontWeight="{TemplateBinding FontWeight}" |
| 596 | + GroupName="{Binding Name, RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}"/> |
557 | 597 | </ControlTemplate>
|
558 | 598 | </Setter.Value>
|
559 | 599 | </Setter>
|
|
568 | 608 | <Setter.Value>
|
569 | 609 | <ControlTemplate TargetType="{x:Type ListBoxItem}">
|
570 | 610 | <RadioButton Style="{StaticResource MaterialDesignChoiceChipAccentRadioButton}"
|
571 |
| - IsChecked="{Binding IsSelected, RelativeSource={RelativeSource Mode=TemplatedParent}, Mode=TwoWay}" |
572 |
| - Content="{TemplateBinding Content}" |
573 |
| - ContentTemplate="{TemplateBinding ContentTemplate}" |
574 |
| - ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" |
575 |
| - ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
576 |
| - GroupName="{Binding Name, RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}"/> |
| 611 | + IsChecked="{Binding IsSelected, RelativeSource={RelativeSource Mode=TemplatedParent}, Mode=TwoWay}" |
| 612 | + Content="{TemplateBinding Content}" |
| 613 | + ContentTemplate="{TemplateBinding ContentTemplate}" |
| 614 | + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" |
| 615 | + ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
| 616 | + FontFamily="{TemplateBinding FontFamily}" |
| 617 | + FontSize="{TemplateBinding FontSize}" |
| 618 | + FontStretch="{TemplateBinding FontStretch}" |
| 619 | + FontStyle="{TemplateBinding FontStyle}" |
| 620 | + FontWeight="{TemplateBinding FontWeight}" |
| 621 | + GroupName="{Binding Name, RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}"/> |
577 | 622 | </ControlTemplate>
|
578 | 623 | </Setter.Value>
|
579 | 624 | </Setter>
|
|
588 | 633 | <Setter.Value>
|
589 | 634 | <ControlTemplate TargetType="{x:Type ListBoxItem}">
|
590 | 635 | <RadioButton Style="{StaticResource MaterialDesignChoiceChipOutlineRadioButton}"
|
591 |
| - IsChecked="{Binding IsSelected, RelativeSource={RelativeSource Mode=TemplatedParent}, Mode=TwoWay}" |
592 |
| - Content="{TemplateBinding Content}" |
593 |
| - ContentTemplate="{TemplateBinding ContentTemplate}" |
594 |
| - ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" |
595 |
| - ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
596 |
| - GroupName="{Binding Name, RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}"/> |
| 636 | + IsChecked="{Binding IsSelected, RelativeSource={RelativeSource Mode=TemplatedParent}, Mode=TwoWay}" |
| 637 | + Content="{TemplateBinding Content}" |
| 638 | + ContentTemplate="{TemplateBinding ContentTemplate}" |
| 639 | + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" |
| 640 | + ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
| 641 | + FontFamily="{TemplateBinding FontFamily}" |
| 642 | + FontSize="{TemplateBinding FontSize}" |
| 643 | + FontStretch="{TemplateBinding FontStretch}" |
| 644 | + FontStyle="{TemplateBinding FontStyle}" |
| 645 | + FontWeight="{TemplateBinding FontWeight}" |
| 646 | + GroupName="{Binding Name, RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}"/> |
597 | 647 | </ControlTemplate>
|
598 | 648 | </Setter.Value>
|
599 | 649 | </Setter>
|
|
608 | 658 | <Setter.Value>
|
609 | 659 | <ControlTemplate TargetType="{x:Type ListBoxItem}">
|
610 | 660 | <RadioButton Style="{StaticResource MaterialDesignChoiceChipPrimaryOutlineRadioButton}"
|
611 |
| - IsChecked="{Binding IsSelected, RelativeSource={RelativeSource Mode=TemplatedParent}, Mode=TwoWay}" |
612 |
| - Content="{TemplateBinding Content}" |
613 |
| - ContentTemplate="{TemplateBinding ContentTemplate}" |
614 |
| - ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" |
615 |
| - ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
616 |
| - GroupName="{Binding Name, RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}"/> |
| 661 | + IsChecked="{Binding IsSelected, RelativeSource={RelativeSource Mode=TemplatedParent}, Mode=TwoWay}" |
| 662 | + Content="{TemplateBinding Content}" |
| 663 | + ContentTemplate="{TemplateBinding ContentTemplate}" |
| 664 | + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" |
| 665 | + ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
| 666 | + FontFamily="{TemplateBinding FontFamily}" |
| 667 | + FontSize="{TemplateBinding FontSize}" |
| 668 | + FontStretch="{TemplateBinding FontStretch}" |
| 669 | + FontStyle="{TemplateBinding FontStyle}" |
| 670 | + FontWeight="{TemplateBinding FontWeight}" |
| 671 | + GroupName="{Binding Name, RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}"/> |
617 | 672 | </ControlTemplate>
|
618 | 673 | </Setter.Value>
|
619 | 674 | </Setter>
|
|
628 | 683 | <Setter.Value>
|
629 | 684 | <ControlTemplate TargetType="{x:Type ListBoxItem}">
|
630 | 685 | <RadioButton Style="{StaticResource MaterialDesignChoiceChipAccentOutlineRadioButton}"
|
631 |
| - IsChecked="{Binding IsSelected, RelativeSource={RelativeSource Mode=TemplatedParent}, Mode=TwoWay}" |
632 |
| - Content="{TemplateBinding Content}" |
633 |
| - ContentTemplate="{TemplateBinding ContentTemplate}" |
634 |
| - ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" |
635 |
| - ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
636 |
| - GroupName="{Binding Name, RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}"/> |
| 686 | + IsChecked="{Binding IsSelected, RelativeSource={RelativeSource Mode=TemplatedParent}, Mode=TwoWay}" |
| 687 | + Content="{TemplateBinding Content}" |
| 688 | + ContentTemplate="{TemplateBinding ContentTemplate}" |
| 689 | + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" |
| 690 | + ContentStringFormat="{TemplateBinding ContentTemplateSelector}" |
| 691 | + FontFamily="{TemplateBinding FontFamily}" |
| 692 | + FontSize="{TemplateBinding FontSize}" |
| 693 | + FontStretch="{TemplateBinding FontStretch}" |
| 694 | + FontStyle="{TemplateBinding FontStyle}" |
| 695 | + FontWeight="{TemplateBinding FontWeight}" |
| 696 | + GroupName="{Binding Name, RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}"/> |
637 | 697 | </ControlTemplate>
|
638 | 698 | </Setter.Value>
|
639 | 699 | </Setter>
|
|
0 commit comments