Button vertical alignmet problem in GridCol with Popconfirm
michaelcsikos opened this issue · comments
michaelcsikos commented
James Yeung commented
Please try to use the Unbound way to warp the button.
michaelcsikos commented
Perfect, thanks!
michaelcsikos commented
For anyone else wanting to do this, don't forget to set RefBack = "@context"
:
<Popconfirm Title = "@StringsBiz.AreYouSure"
OnConfirm = "() => Delete.InvokeAsync(VM)"
OkText = "@StringsBiz.Yes"
CancelText = "@StringsBiz.No">
<Unbound>
<Button Danger Icon = "@IconType.Outline.Delete" RefBack = "@context" />
</Unbound>
</Popconfirm>