←Select platform

RasterImageList Class Members

Summary

The following tables list the members exposed by RasterImageList.

Public Constructors

Name Description
RasterImageList Initializes a new instance of the RasterImageList class.

Public Methods

Name Description
BeginUpdate Prevents the control from drawing until the EndUpdate method is called.
EndUpdate Resumes drawing of the control after drawing is suspended by the BeginUpdate method.
EnsureVisible Ensures that the specified item is visible within the control, scrolling the contents of the control if necessary.
GetFixedAspectRatioImageRectangle Calculates how an image is to be sized and positioned in a rectangle while keeping the aspect ratio fixed.
GetItemRectangle Retrieves the bounding rectangle for a specific item within the RasterImageList control.
HitTest Queries the specified location to determine if the point is over a RasterImageListItem.
ScrollItems Scrolls the content of the control.
SelectAll Selects or un-selects all the items in this RasterImageList control.
Sort Sorts the items of the RasterImageList control.

Protected Methods

Name Description
IsInputKey This member overrides Control.IsInputKey.
OnAutoDeselectItemsChanged Raises the AutoDeselectItemsChanged event.
OnAutoDisposeImagesChanged Raises the AutoDisposeImagesChanged event.
OnBorderStyleChanged Raises the BorderStyleChanged event.
OnDoubleBufferChanged Raises the DoubleBufferChanged event.
OnDrawItem Raises the DrawItem event.
OnEnableKeyboardChanged Raises the EnableKeyboardChanged event.
OnEnableRubberBandSelectionChanged Raises the EnableRubberBandSelectionChanged event.
OnItemBackColorChanged Raises the ItemBackColorChanged event.
OnItemBorderStyleChanged Raises the ItemBorderStyleChanged event.
OnItemForeColorChanged Raises the ItemForeColorChanged event.
OnItemImageBorderStyleChanged Raises the ItemImageBorderStyleChanged event.
OnItemImageSizeChanged Raises the ItemImageSizeChanged event.
OnItemSelectedBackColorChanged Raises the ItemSelectedBackColorChanged event.
OnItemSelectedForeColorChanged Raises the ItemSelectedForeColorChanged event.
OnItemSizeChanged Raises the ItemSizeChanged event.
OnItemSpacingSizeChanged Raises the ItemSpacingSizeChanged event.
OnKeyDown This member overrides Control.OnKeyDown.
OnLostFocus This member overrides Control.OnLostFocus.
OnMouseDown This member overrides Control.OnMouseDown.
OnMouseMove This member overrides Control.OnMouseMove.
OnMouseUp This member overrides Control.OnMouseUp.
OnPaint This member overrides Control.OnPaint.
OnPaintPropertiesChanged Raises the PaintPropertiesChanged event.
OnScroll Raises the Scroll event.
OnScrollStyleChanged Raises the ScrollStyleChanged event.
OnSelectedIndexChanged Raises the SelectedIndexChanged event.
OnSelectionModeChanged Raises the SelectionModeChanged event.
OnSelectUserImageChanged Raises the SelectUserImageChanged event.
OnShowItemTextChanged Raises the ShowItemTextChanged event.
OnSizeChanged This member overrides Control.OnSizeChanged.
OnSorterChanged Raises the SorterChanged event.
OnSortingChanged Raises the SortingChanged event.
OnUseDpiChanged Raises the UseDpiChanged event.
OnViewStyleChanged Raises the ViewStyleChanged event.
WndProc This member overrides Control.WndProc.

Public Properties

Name Description
AutoDeselectItems Enables or disables de-selecting items when mouse button is clicked.
AutoDisposeImages Gets or sets a value indicating whether to automatically dispose item images.
BorderStyle Gets or sets the border style of the control.
DoubleBuffer Enables or disables double buffer painting, which eliminates flicker.
EnableKeyboard Gets or sets a value indicating whether the control automatically processes the keyboard.
EnableRubberBandSelection Enables or disables rubber band selection in the RasterImageList.
FullVisibleColumns Gets the number of currently full-visible item columns in the control.
FullVisibleRows Gets the number of currently full-visible item rows in the control.
ItemBackColor Gets or sets the item background color of the un-selected items in this RasterImageList
ItemBorderStyle Gets or sets the border style to draw around the RasterImageListItem in the control.
ItemForeColor Gets or sets the foreground color of the un-selected items in this RasterImageList
ItemImageBorderStyle Gets or sets the border style to draw around the image of an RasterImageListItem in the control.
ItemImageSize Gets or sets the maximum size of the image of each RasterImageListItem in the control.
Items Gets a collection containing all items in the control.
ItemSelectedBackColor Gets or sets the item background color of the selected items in this RasterImageList.
ItemSelectedForeColor Gets or sets the foreground color of the selected items in this RasterImageList.
ItemSize Gets or sets the size of each RasterImageListItem in the control.
ItemSpacingSize Gets or sets the amount of space between adjacent items in the control.
PaintProperties Gets or sets the Leadtools.Drawing.RasterPaintProperties which controls the painting of item images in this control.
ScrollStyle Specifies the direction the RasterImageList Control scrolls the displayed items.
SelectedItems Gets the items that are selected in the control.
SelectionMode Gets or sets whether automatic item selection is allowed.
SelectUserImage Gets or sets a user-defined image to use as the selection marker.
ShowItemText Indicates whether the item text is shown in the control.
Site This member overrides the Control.Site property.
Sorter Gets or sets the sorting comparer for the control.
Sorting Gets or sets the sort order for items in the control.
TopIndex Gets or sets the index of the first visible item in the control.
TotalColumns Gets the number of total item columns in the control.
TotalRows Gets the number of total item rows in the control.
UseDpi Gets or sets a value that indicates whether LEAD's automated scaling properties are used to account for the physical resolution of the bitmap.
ViewStyle Gets or sets how items are displayed in the control.
VisibleColumns Gets the number of currently full or partial -visible item columns in the control.
VisibleRows Gets the number of currently full or partial -visible item rows in the control.

Protected Properties

Name Description
CreateParams This member overrides Control.CreateParams.
IsSorting Gets a value indicating whether this RasterImageList is currently sorting.

Public Events

Name Description
AutoDeselectItemsChanged Occurs when the value of the AutoDeselectItems property changes.
AutoDisposeImagesChanged Occurs when the value of the AutoDisposeImages property changes.
BorderStyleChanged Occurs when the value of the BorderStyle property changes.
DoubleBufferChanged Occurs when the value of the DoubleBuffer property changes.
DrawItem Occurs when a request is made to draw an item in an owner-drawn RasterImageList.
EnableKeyboardChanged Occurs when the value of the EnableKeyboard property changes.
EnableRubberBandSelectionChanged Occurs when the value of the EnableRubberBandSelection property changes.
ItemBackColorChanged Occurs when the value of the ItemBackColor property changes.
ItemBorderStyleChanged Occurs when the value of the ItemBorderStyle property changes.
ItemForeColorChanged Occurs when the value of the ItemForeColor property changes.
ItemImageBorderStyleChanged Occurs when the value of the ItemImageBorderStyle property changes.
ItemImageSizeChanged Occurs when the value of the ItemImageSize property changes.
ItemSelectedBackColorChanged Occurs when the value of the ItemSelectedBackColor property changes.
ItemSelectedForeColorChanged Occurs when the value of the ItemSelectedForeColor property changes.
ItemSizeChanged Occurs when the value of the ItemSize property changes.
ItemSpacingSizeChanged Occurs when the value of the ItemSpacingSize property changes.
PaintBackground Occurs when the background of the control is redrawn.
PaintPropertiesChanged Occurs when the value of the PaintProperties property changes.
Scroll Occurs when the content of control is scrolled.
ScrollStyleChanged Occurs when the value of the ScrollStyle property changes.
SelectedIndexChanged Occurs when the index of the selected item in the RasterImageList control changes.
SelectionModeChanged Occurs when the value of the SelectionMode property changes.
SelectUserImageChanged Occurs when the value of the SelectUserImage property changes.
ShowItemTextChanged Occurs when the value of the ShowItemText property changes.
SorterChanged Occurs when the value of the Sorter property changes.
SortingChanged Occurs when the value of the Sorting property changes.
UseDpiChanged Occurs when the value of the UseDpi property changes.
ViewStyleChanged Occurs when the value of the ViewStyle property changes.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly