ScatterViewItem.CanScale Property

Surface 1.0 SP1
Gets or sets a Boolean value that specifies whether a ScatterViewItem item can scale.

Namespace: Microsoft.Surface.Presentation.Controls
Assembly: Microsoft.Surface.Presentation (in microsoft.surface.presentation.dll)

'Usage
Dim instance As ScatterViewItem
Dim value As Boolean

value = instance.CanScale

instance.CanScale = value

public bool CanScale { get; set; }
/** @property */
public boolean get_CanScale ()

/** @property */
public void set_CanScale (boolean value)

public function get CanScale () : boolean

public function set CanScale (value : boolean)

Property Value

Returns true if the control can scale; otherwise, false. By default, the value is true.

The CanScale property is a dependency property that is identified by the CanScaleProperty field.

When the CanScale property is set to false, the user cannot change the size of the ScatterViewItem control. However, you can still modify the size of the control programmatically by setting the Width and Height properties.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Microsoft Surface 1.0 SP1, Windows Vista Ultimate, Windows Vista Enterprise, Windows Vista Business

Target Platforms

Microsoft Surface 1.0 SP1
Show: