'宣言 Public Property Orientation As Orientation
public Orientation Orientation {get; set;}
Imports Infragistics.Win.UltraWinEditors ' Set the ViewStyle to standard. Me.UltraTrackBar1.ViewStyle = TrackBarViewStyle.Standard ' Set Orientation to horizontal. Me.UltraTrackBar1.Orientation = Orientation.Horizontal
using Infragistics.Win.UltraWinEditors; // Set the ViewStyle to standard. this.ultraTrackBar1.ViewStyle = TrackBarViewStyle.Standard; // Set Orientation to horizontal. this.ultraTrackBar1.Orientation = Orientation.Horizontal;