Skip to content

ZoomableListBox

Aaron Amberman edited this page Mar 15, 2024 · 2 revisions

WPF.AA.CustomControls.ZoomableListBox

A ListBox that has built in zooming capabilities.

ZoomableListBox

Properties

  • ZoomFactor
    • Gets or sets the zoom factor for the ListBox. Default is 1.0.
  • ZoomMax
    • Gets or sets the max zoom factor. Default is 2.0
  • ZoomMin
    • Gets or sets the min zoom factor. Default is 0.5.

Methods

There are no public or protected methods, only private or inherited methods.

Events

There are no events other than inherited ones.

Usage

Usage is the exact same as it is for a native WPF ListBox. You can just specify some zoom values...

<cc:ZoomableListBox ZoomFactor="1" ZoomMin="0.5" ZoomMax="4.0">
    ...
</cc:ZoomableListBox>
Clone this wiki locally