ImageList Class

Definition

Line 11 of System.Windows/ImageList.cm

Constructors & Destructor

public nothrow ImageList()

Member Functions

public void AddDisabledImage(const String<char>& imageName)
public void AddImage(const String<char>& imageName)
public void AddImage(const String<char>& imageName, Bitmap* bitmap)
public nothrow int GetDisabledImageIndex(const String<char>& imageName)
public Bitmap* GetImage(int imageIndex) const
public nothrow int GetImageIndex(const String<char>& imageName)

Member Variables

private Map<String<char>, int, Less<String<char>>> imageIndexMap
private List<UniquePtr<Bitmap>> images

Constructor& Destructor Details

ImageList Constructor

public nothrow ImageList()

Definition
Line 13 of System.Windows/ImageList.cm


Member Function Details

AddDisabledImage Member Function

public void AddDisabledImage(const String<char>& imageName)

Definition
Line 20 of System.Windows/ImageList.cm


AddImage Member Function

public void AddImage(const String<char>& imageName)

Definition
Line 16 of System.Windows/ImageList.cm


AddImage Member Function

public void AddImage(const String<char>& imageName, Bitmap* bitmap)

Definition
Line 34 of System.Windows/ImageList.cm


GetDisabledImageIndex Member Function

public nothrow int GetDisabledImageIndex(const String<char>& imageName)

Definition
Line 52 of System.Windows/ImageList.cm


GetImage Member Function

public Bitmap* GetImage(int imageIndex)

Definition
Line 56 of System.Windows/ImageList.cm


GetImageIndex Member Function

public nothrow int GetImageIndex(const String<char>& imageName)

Definition
Line 40 of System.Windows/ImageList.cm