From 914838ba76cc3bda500aadd1afa4c2317e4e6922 Mon Sep 17 00:00:00 2001 From: Bhavanesh N Date: Fri, 7 Feb 2025 15:15:12 +0530 Subject: [PATCH] Update imagebutton.md --- docs/user-interface/controls/imagebutton.md | 42 +++++++++++---------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/docs/user-interface/controls/imagebutton.md b/docs/user-interface/controls/imagebutton.md index 1596ea7cc..3d21aa28e 100644 --- a/docs/user-interface/controls/imagebutton.md +++ b/docs/user-interface/controls/imagebutton.md @@ -125,26 +125,28 @@ For more information about these events, see [Press and release the button](butt The following XAML example shows how to define a visual state for the `Pressed` state: ```xaml - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + ``` In this example, the `Pressed` specifies that when the is pressed, its `Scale` property will be changed from its default value of 1 to 0.8. The `Normal` specifies that when the is in a normal state, its `Scale` property will be set to 1. Therefore, the overall effect is that when the is pressed, it's rescaled to be slightly smaller, and when the is released, it's rescaled to its default size.