diff --git a/components/SettingsControls/src/SettingsExpander/SettingsExpander.Properties.cs b/components/SettingsControls/src/SettingsExpander/SettingsExpander.Properties.cs index 7ddd2efcb..9362f8658 100644 --- a/components/SettingsControls/src/SettingsExpander/SettingsExpander.Properties.cs +++ b/components/SettingsControls/src/SettingsExpander/SettingsExpander.Properties.cs @@ -71,6 +71,15 @@ public partial class SettingsExpander typeof(SettingsExpander), new PropertyMetadata(defaultValue: false, (d, e) => ((SettingsExpander)d).OnIsExpandedPropertyChanged((bool)e.OldValue, (bool)e.NewValue))); + /// + /// The backing for the property. + /// + public static readonly DependencyProperty ItemsTransitionsProperty = DependencyProperty.Register( + nameof(ItemsTransitions), + typeof(TransitionCollection), + typeof(SettingsExpander), + new PropertyMetadata(null)); + /// /// Gets or sets the Header. /// @@ -127,6 +136,15 @@ public UIElement ItemsFooter set => SetValue(ItemsFooterProperty, value); } + /// + /// Gets or sets the ItemsTransitions. + /// + public TransitionCollection ItemsTransitions + { + get { return (TransitionCollection)GetValue(ItemsTransitionsProperty); } + set { SetValue(ItemsTransitionsProperty, value); } + } + /// /// Gets or sets the IsExpanded state. /// diff --git a/components/SettingsControls/src/SettingsExpander/SettingsExpander.xaml b/components/SettingsControls/src/SettingsExpander/SettingsExpander.xaml index bfc0cde77..2bc870c8c 100644 --- a/components/SettingsControls/src/SettingsExpander/SettingsExpander.xaml +++ b/components/SettingsControls/src/SettingsExpander/SettingsExpander.xaml @@ -96,7 +96,8 @@ IsClickEnabled="False" /> - +