次の方法で共有


SearchBoxEx.DropDownWidth プロパティ (Microsoft.SharePoint.Portal.WebControls)

検索ボックス Web パーツの範囲ドロップダウンの固定幅を取得または設定します。

名前空間: Microsoft.SharePoint.Portal.WebControls
アセンブリ: Microsoft.SharePoint.Portal (microsoft.sharepoint.portal.dll 内)

構文

'宣言
<DefaultValueAttribute(0)> _
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("SearchBox_DDWidth", "SearchBox_ScopeDD", "SearchBox_DDWidth_ToolTip")> _
Public Property DropDownWidth As Integer
'使用
Dim instance As SearchBoxEx
Dim value As Integer

value = instance.DropDownWidth

instance.DropDownWidth = value
[DefaultValueAttribute(0)] 
[WebPartStorageAttribute(Storage.Shared)] 
[ResourcesAttribute("SearchBox_DDWidth", "SearchBox_ScopeDD", "SearchBox_DDWidth_ToolTip")] 
public int DropDownWidth { get; set; }

プロパティ値

範囲ドロップダウンの幅をピクセル数で指定する 32 ビットの整数。

関連項目

参照

SearchBoxEx クラス
SearchBoxEx メンバ
Microsoft.SharePoint.Portal.WebControls 名前空間