バージョン

MinimizeStoryboard プロパティ

XamOutlookBar が最小化される時に再生する System.Windows.Media.Animation.Storyboard を取得または設定します。
シンタックス
'宣言
 
Public Property MinimizeStoryboard As Storyboard
public Storyboard MinimizeStoryboard {get; set;}
使用例
Private Sub InitSB ()
        xamOutlookBar1.ExpandStoryboard = Me.Resources("XOBexpand")
        xamOutlookBar1.MinimizeStoryboard = Me.Resources("XOBminimize")
End Sub
public IG_XamOutlookBar_Properties()
{
    InitializeComponent();

    xamOutlookBar1.ExpandStoryboard = this.Resources["XOBexpand"] as Storyboard;
    xamOutlookBar1.MinimizeStoryboard= this.Resources["XOBminimize"] as Storyboard;
}
<Window x:Class="XamOutlookBarApp.IG_XamOutlookBar_Properties"
    
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    
xmlns:igOutlookBar="http://infragistics.com/OutlookBar"
    
Title="IG_XamOutlookBar_Properties" Height="300" Width="300">
    
<Window.Resources>
        
<Storyboard x:Key="XOBexpand">
            
<DoubleAnimation Storyboard.TargetProperty="Opacity"
                             
From="0.1" To="1" Duration="0:0:0.5"/>
            
<DoubleAnimation Storyboard.TargetProperty="Width" 
                             
Duration="0:0:0.5" AccelerationRatio="0.5" DecelerationRatio="0.2"/>
        
</Storyboard>
        
<Storyboard x:Key="XOBminimize">
            
<DoubleAnimation Storyboard.TargetProperty="Opacity" 
                             
To="0.1" Duration="0:0:0.5" FillBehavior="Stop"
                                     
/>
            
<DoubleAnimation Storyboard.TargetProperty="Width"
                             
Duration="0:0:0.5" AccelerationRatio="0.2" DecelerationRatio="0.5"/>
        
</Storyboard>
    
</Window.Resources>
    
<StackPanel Orientation="Horizontal">
        
<igOutlookBar:XamOutlookBar Name="xamOutlookBar1" Width="200"
                                    
ExpandStoryboard="{StaticResource XOBexpand}"
                                    
MinimizeStoryboard="{StaticResource XOBminimize}"
                                    
>
            
<igOutlookBar:OutlookBarGroup Header="Group 1" Content="Group 1"/>
            
<igOutlookBar:OutlookBarGroup Header="Group 2" Content="Group 2"/>
        
</igOutlookBar:XamOutlookBar>
    
</StackPanel>
</Window>
参照