'宣言 Public ReadOnly Property BorderStyleResolved As Infragistics.Win.UIElementBorderStyle
public Infragistics.Win.UIElementBorderStyle BorderStyleResolved {get;}
BorderStyle プロパティが Default に設定される場合、コントロールのデフォルト値、Raised が使用されます。
Imports Infragistics.Win Imports Infragistics.Win.UltraWinSchedule Imports Infragistics.Win.UltraWinSchedule.CalendarCombo Private Sub HideBorders() ' If the resolved border style is not 'None', set it to 'None' If (Me.ultraCalendarCombo1.BorderStyleResolved <> UIElementBorderStyle.None) Then Me.ultraCalendarCombo1.BorderStyle = UIElementBorderStyle.None End If ' If the resolved dropdown border style is not 'None', set it to 'None' If (Me.ultraCalendarCombo1.BorderStyleDropDownResolved <> UIElementBorderStyle.None) Then Me.ultraCalendarCombo1.BorderStyleDropDown = UIElementBorderStyle.None End If End Sub
using Infragistics.Win; using Infragistics.Win.UltraWinSchedule; using Infragistics.Win.UltraWinSchedule.CalendarCombo; private void HideBorders() { // If the resolved border style is not 'None', set it to 'None' if ( this.ultraCalendarCombo1.BorderStyleResolved != UIElementBorderStyle.None ) this.ultraCalendarCombo1.BorderStyle = UIElementBorderStyle.None; // If the resolved dropdown border style is not 'None', set it to 'None' if ( this.ultraCalendarCombo1.BorderStyleDropDownResolved != UIElementBorderStyle.None ) this.ultraCalendarCombo1.BorderStyleDropDown = UIElementBorderStyle.None; }