Articles in this section

how to increase the popup width for ColorPickerPalette

DropDown Popup width can be increased or decreased by PopupWidth Property of ColorPickerPalette.

 

The same has been explained in the following code snippet:

XAML:

//Code Explains how to increase the popup  width  for ColorPickerPalette
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:syncfusion="http://schemas.syncfusion.com/wpf" x:Class="ColorpickerPallette.MainWindow" 
Title="MainWindow" Height="350" Width="525">
<Grid>
 
<syncfusion:ColorPickerPalette Name="ColorPalette" Height="50" PopupWidth="250" Width="200" VerticalAlignment="Top">
</syncfusion:ColorPickerPalette>
 
</Grid>
</Window>
 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C#:

//Code Explains how to increase the popup  width  for ColorPickerPalette
namespace ColorpickerPallette
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
ColorPalette.PopupWidth = 250;
}
}
}

 

 Output:

 

 

 

  C:\Users\Ashok.Murugesan\Desktop\KBTask\13.4SprintKBTools\ScreenShot\ColorPalette-PopupWidth.png

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied