Share via


SPFarm.UseMinWidthForHtmlPicker property

Gets or sets the HTML select control.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property UseMinWidthForHtmlPicker As Boolean
    Get
    Set
'Usage
Dim instance As SPFarm
Dim value As Boolean

value = instance.UseMinWidthForHtmlPicker

instance.UseMinWidthForHtmlPicker = value
public bool UseMinWidthForHtmlPicker { get; set; }

Property value

Type: System.Boolean
true if HTML select control (commonly used in lookup field) uses min-width, instead of the CSS style width; otherwise false.

Remarks

Setting to true ensures the items inside the selector control are not truncated, but makes the width of the control non-deterministic.

See also

Reference

SPFarm class

SPFarm members

Microsoft.SharePoint.Administration namespace