'宣言 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; }