.NET Framework Class Library for Silverlight
WriteableBitmap..::.Item Property

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets or sets a pixel within the pixels array of this WriteableBitmap object.

Namespace:  System.Windows.Media.Imaging
Assembly:  System.Windows (in System.Windows.dll)
Syntax

Visual Basic (Declaration)
Public Property Item ( _
    index As Integer _
) As Integer
    Get
    Set
Visual Basic (Usage)
Dim instance As WriteableBitmap
Dim index As Integer
Dim value As Integer

value = instance.Item(index)

instance.Item(index) = value
C#
public int this[
    int index
] { get; set; }

Parameters

index
Type: System..::.Int32
The zero-based index of the pixel to be retrieved or set.

Property Value

Type: System..::.Int32
The zero-based index of the pixel.
Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

Page view tracker