Skip to main content

Introduction

This control provides the display component for tooltips.

"Merchant Item Tooltip Display"

Fields#

NameDescription
Auto SizeAutomatically resize container
Resize SourceComponent used to determine size needs
LabelsList of labels and formats for displaying information
Merchant WindowAssociated Merchant Window
ItemAssociated Item
On Can SellEvent raised when item can be sold to merchant
On Cannot SellEvent raised when item cannot be sold to merchant
On Can BuyEvent raised when item can be bought from merchant
On Cannot BuyEvent raised when item cannot be bought from merchant
IdId used to find this display indirectly
PaddingPadding to add when resizing to fit tooltip text
Max SizeMaximum size of the tooltip
Tip TextComponent used to display tooltip text

Properties#

NameDescription
itemUIGets the item being displayed
CalledByTooltip client that called this display

Methods#

NameDescription
BuyFromMerchantBuy item from merchant
SellToMerchantSell item to merchant
ShowTipDisplay tooltip text.