Share via


SPCalendarViewStyle.ImageWidth Property

Gets or sets the width in pixels of the image that is associated with the Day, Week, or View link in the calendar user interface.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property ImageWidth As Integer
    Get
    Set
'Usage
Dim instance As SPCalendarViewStyle
Dim value As Integer

value = instance.ImageWidth

instance.ImageWidth = value
public int ImageWidth { get; set; }

Property Value

Type: System.Int32
A 32-bit integer that specifies the height of the image in pixels. The default value is 16.

See Also

Reference

SPCalendarViewStyle Class

SPCalendarViewStyle Members

Microsoft.SharePoint Namespace