We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

VerticalContentAlignment does not work

The title says it all. Setting VerticalContentAlignment does align the content to the top of the control.

Is it possible to do this?


4 Replies

VV Vijayakumar Viswanathan Syncfusion Team November 23, 2022 03:19 PM UTC

Hi Dani, 

Thanks for contacting Syncfusion support.

The reported issue was not reproduced on our end and we are able to change the position of the SfTextBoxExt content using the VerticalContentAlignment property. We have prepared a working sample and the video for your reference. Please check the sample and let us know the details.

If your requirement is different, please share the issue reproducing sample with replicating steps. It will help us to investigate further. 

Regards,

Vijayakumar V


Attachment: TextBoxWPF_2831db4a.zip


DA Dani December 20, 2022 04:28 PM UTC

Try changing it MultiSelectMode="Token" and you will see the issue.



VV Vijayakumar Viswanathan Syncfusion Team December 21, 2022 01:16 PM UTC

Hi Dani,

 

We were able to reproduce the reported issue “VerticalContentAlignment does not work when we set MultiSelectMode="Token" ” and we have confirmed this as a bug. You can track the status of the bug from the below link.

 

Link: https://www.syncfusion.com/feedback/39224/verticalcontentalignment-does-not-work

 

We will provide a patch for this issue on Jan 4, 2023. We appreciate your patience until then.

 

If you have any more specifications/precise replication procedures or a scenario to be tested, you can add them as a comment in the portal.


 

Regards,

Vijayakumar V




AK Arunachalam Kandasamy Raja Syncfusion Team January 5, 2023 01:12 PM UTC

Hi Dani, 

  

Query: VerticalContentAlignment doesn't work 

  

We have checked your query and would like to inform you that  VerticalContentAlignment does not go to the top in SfTextBoxExt because we styled the vertical alignment of the MultiSelectMode token with the center by default. You can also edit that default style in MainPage.Xaml is like below code snippet to achieve your requirement. Please refer to below code snippet for this

  

   <WrapPanel x:Name="Multi_Panel" 
                                                           MinHeight="18" 
                                                           Orientation="Horizontal" 
                                                           VerticalAlignment="Top"> 

  

  

We have attached the modified sample for your reference. Please let us know if the reported issue was resolved on your side. 

Regards,


Arunachalam K


Attachment: SyncfusionWpfApp1_7db82a0a.zip

Loader.
Live Chat Icon For mobile
Up arrow icon