IconListView Class

Definition

Line 191 of System.Windows/IconListView.cm

Inheritance

Constructors & Destructor

public IconListView(IconListViewCreateParams& createParams)
public IconListView(const Color& backgroundColor, const Point& location, const Size& size, Dock dock, Anchors anchors)
public IconListView(const Point& location, const Size& size, Dock dock, Anchors anchors)

Member Functions

public void AddItem(const String<char>& iconName, const String<char>& itemName)
private nothrow bool Changed() const
internal nothrow const Font& GetFont() const
internal ImageAttributes& GetImageAttributes()
private Bitmap* GetOrInsertBitmap(const String<char>& bitmapName)
private SolidBrush* GetOrInsertSolidBrush(const Color& color)
internal SolidBrush& GetSelectedBrush()
public nothrow int GetSelectedIndex() const
internal nothrow const StringFormat& GetStringFormat() const
internal SolidBrush& GetTextBrush()
public nothrow Event<IconListViewIconDoubleClickedEventHandler, EmptyEventArgs>& IconDoubleClickedEvent()
private void Measure(Graphics& graphics)
protected virtual void OnDoubleClicked()
protected override void OnMouseDoubleClick(MouseEventArgs& args)
protected override void OnMouseDown(MouseEventArgs& args)
protected override void OnPaint(PaintEventArgs& args)
protected virtual void OnSelectedIndexChanged()
private nothrow void ResetChanged()
public nothrow Event<IconListViewSelectedIndexChangedEventHandler, EmptyEventArgs>& SelectedIndexChangedEvent()
public nothrow void SetBitmapTransparentColor(const Color& bitmapTransparentColor_)
private nothrow void SetChanged()
public void SetFont(const Font& font_)
public nothrow void SetIconPadding(const Padding& iconPadding_)
public nothrow void SetIconSelectedColor(const Color& iconSelectedColor_)
public nothrow void SetInternalPadding(const Padding& internalPadding_)
public nothrow void SetTextColor(const Color& textColor_)
public nothrow void SetTextPadding(const Padding& textPadding_)

Enumerated Types

private enum Flags

Member Variables

private HashMap<String<char>, Bitmap*, Hasher<String<char>>, EqualTo<String<char>>> bitmapMap
private Color bitmapTransparentColor
private List<UniquePtr<Bitmap>> bitmaps
private HashMap<Color, SolidBrush*, Hasher<Color>, EqualTo<Color>> brushMap
private List<UniquePtr<SolidBrush>> brushes
private Flags flags
private Font font
private FontFamily fontFamily
private float fontSize
private Event<IconListViewIconDoubleClickedEventHandler, EmptyEventArgs> iconDoubleClickedEvent
private Padding iconPadding
private Color iconSelectedColor
private ImageAttributes imageAttributes
private Padding internalPadding
private Container items
private int numberOfItems
private Event<IconListViewSelectedIndexChangedEventHandler, EmptyEventArgs> selectedIndexChangedEvent
private IconListViewItem* selectedItem
private StringFormat stringFormat
private Color textColor
private Padding textPadding

Constructor& Destructor Details

IconListView Constructor

public IconListView(IconListViewCreateParams& createParams)

Definition
Line 219 of System.Windows/IconListView.cm


IconListView Constructor

public IconListView(const Color& backgroundColor, const Point& location, const Size& size, Dock dock, Anchors anchors)

Definition
Line 198 of System.Windows/IconListView.cm


IconListView Constructor

public IconListView(const Point& location, const Size& size, Dock dock, Anchors anchors)

Definition
Line 215 of System.Windows/IconListView.cm


Member Function Details

AddItem Member Function

public void AddItem(const String<char>& iconName, const String<char>& itemName)

Definition
Line 236 of System.Windows/IconListView.cm


Changed Member Function

private nothrow bool Changed()

Definition
Line 465 of System.Windows/IconListView.cm


GetFont Member Function

internal nothrow const Font& GetFont()

Definition
Line 324 of System.Windows/IconListView.cm


GetImageAttributes Member Function

internal ImageAttributes& GetImageAttributes()

Definition
Line 408 of System.Windows/IconListView.cm


GetOrInsertBitmap Member Function

private Bitmap* GetOrInsertBitmap(const String<char>& bitmapName)

Definition
Line 420 of System.Windows/IconListView.cm


GetOrInsertSolidBrush Member Function

private SolidBrush* GetOrInsertSolidBrush(const Color& color)

Definition
Line 441 of System.Windows/IconListView.cm


GetSelectedBrush Member Function

internal SolidBrush& GetSelectedBrush()

Definition
Line 416 of System.Windows/IconListView.cm


GetSelectedIndex Member Function

public nothrow int GetSelectedIndex()

Definition
Line 348 of System.Windows/IconListView.cm


GetStringFormat Member Function

internal nothrow const StringFormat& GetStringFormat()

Definition
Line 328 of System.Windows/IconListView.cm


GetTextBrush Member Function

internal SolidBrush& GetTextBrush()

Definition
Line 412 of System.Windows/IconListView.cm


IconDoubleClickedEvent Member Function

public nothrow Event<IconListViewIconDoubleClickedEventHandler, EmptyEventArgs>& IconDoubleClickedEvent()

Definition
Line 336 of System.Windows/IconListView.cm


Measure Member Function

private void Measure(Graphics& graphics)

Definition
Line 386 of System.Windows/IconListView.cm


OnDoubleClicked Member Function

protected virtual void OnDoubleClicked()

Definition
Line 344 of System.Windows/IconListView.cm


OnMouseDoubleClick Member Function

protected override void OnMouseDoubleClick(MouseEventArgs& args)

Definition
Line 272 of System.Windows/IconListView.cm


OnMouseDown Member Function

protected override void OnMouseDown(MouseEventArgs& args)

Definition
Line 246 of System.Windows/IconListView.cm


OnPaint Member Function

protected override void OnPaint(PaintEventArgs& args)

Definition
Line 359 of System.Windows/IconListView.cm


OnSelectedIndexChanged Member Function

protected virtual void OnSelectedIndexChanged()

Definition
Line 340 of System.Windows/IconListView.cm


ResetChanged Member Function

private nothrow void ResetChanged()

Definition
Line 461 of System.Windows/IconListView.cm


SelectedIndexChangedEvent Member Function

public nothrow Event<IconListViewSelectedIndexChangedEventHandler, EmptyEventArgs>& SelectedIndexChangedEvent()

Definition
Line 332 of System.Windows/IconListView.cm


SetBitmapTransparentColor Member Function

public nothrow void SetBitmapTransparentColor(const Color& bitmapTransparentColor_)

Definition
Line 294 of System.Windows/IconListView.cm


SetChanged Member Function

private nothrow void SetChanged()

Definition
Line 457 of System.Windows/IconListView.cm


SetFont Member Function

public void SetFont(const Font& font_)

Definition
Line 319 of System.Windows/IconListView.cm


SetIconPadding Member Function

public nothrow void SetIconPadding(const Padding& iconPadding_)

Definition
Line 307 of System.Windows/IconListView.cm


SetIconSelectedColor Member Function

public nothrow void SetIconSelectedColor(const Color& iconSelectedColor_)

Definition
Line 299 of System.Windows/IconListView.cm


SetInternalPadding Member Function

public nothrow void SetInternalPadding(const Padding& internalPadding_)

Definition
Line 315 of System.Windows/IconListView.cm


SetTextColor Member Function

public nothrow void SetTextColor(const Color& textColor_)

Definition
Line 303 of System.Windows/IconListView.cm


SetTextPadding Member Function

public nothrow void SetTextPadding(const Padding& textPadding_)

Definition
Line 311 of System.Windows/IconListView.cm