LinedFlowLayout.ItemsUnlocked Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs whenever items that had been locked into specific lines through calls to the LockItemToLine method are unlocked again.
// Register
event_token ItemsUnlocked(TypedEventHandler<LinedFlowLayout, IInspectable const&> const& handler) const;
// Revoke with event_token
void ItemsUnlocked(event_token const* cookie) const;
// Revoke with event_revoker
LinedFlowLayout::ItemsUnlocked_revoker ItemsUnlocked(auto_revoke_t, TypedEventHandler<LinedFlowLayout, IInspectable const&> const& handler) const;
public event TypedEventHandler<LinedFlowLayout,object> ItemsUnlocked;
function onItemsUnlocked(eventArgs) { /* Your code */ }
linedFlowLayout.addEventListener("itemsunlocked", onItemsUnlocked);
linedFlowLayout.removeEventListener("itemsunlocked", onItemsUnlocked);
- or -
linedFlowLayout.onitemsunlocked = onItemsUnlocked;
Public Custom Event ItemsUnlocked As TypedEventHandler(Of LinedFlowLayout, Object)
Event Type
TypedEventHandler<LinedFlowLayout,IInspectable>
Remarks
Locked items become unlocked again and trigger this event when:
- the available width for the LinedFlowLayout changed.
- the ItemsSource data has changed. For example an item is added, removed, or resized.
- the ActualLineHeight property changed.