Hi,
I am currently trying to achive a vertical menu inspired by the attached picture.
I have been trying with radMenu, radTreeview, but i remain unsatisfied .
Just as piece of advice, what would be the best Controls tool solution to achive something similar, knowig that on each root click, all the other menu collapse to let only one expand ?
I want users to be able to resize an expanded CollapsiblePanel. I've not tried autosize, but I don't want it autosizing if the user is scrolling through the datagrid.
The panel is docked to the right, as is a splitter, the gridview is docked to fill. I make the splitter invisible if the collapsible panel is collapsed.
When expanded, and I use the splitter to make the collapsiblepanel narrower, the header vanishes off to the right. I'm assuming that the controlcontainer at the back isn't being resized to fit within the bounds of the collapsiblepanel.
Pls see attachment. Pic on the left is showing the collapsiblepanel design time width, on the right is showing how the container isn't resizing .
How do I code, or set up properties, to fix this please?
I originally posted this in the wrong forum, so that one can be delete.
I am having an issue with SplitPanels that are added into a RadSplitContainer when those controls are inherited. I have a base form class that has a RadSplitContainer on it, with two SplitPanels in it. Then I create the new form based on that base form. I can open the designer the first time and save, but once I close it and re-open it, I get "Duplicate component name 'splitPanel1'. Component names must be unique and case-insensitive"
Some things I have noticed is that the splitPanel lack the "Modifier" property.
Any help would be greatly accepted.
Thanks
Hey guys, I've customized the Fluent(just changed the blue) and currently using it fine on my project. I just don't like it on RadGridView and i really liked VisualStudio2012Light on it, is there a easy way to mix my whole Fluent theme with just RadGridView of VisualStudio2012Light ?
And another question, how can I change the border color of RadForm on the Fluent Theme, couldn't find it.
Thanks in advance and sorry for bad english.
Hey guys, I've inherited RadDateTimePicker to do a better handling of null value with databinding and the problem is when it got focused by Tab key it borders don't change as it should be. Ive tried setting focus to DateTimePickerElement when my picker got focus, but it didn't solve as well.
public partial class NossoRadDateTimePicker : RadDateTimePicker
{
public NossoRadDateTimePicker()
{
InitializeComponent();
TabStop = true;
this.ValueChanged += NossoRadDateTimePicker_ValueChanged;
this.GotFocus += NossoRadDateTimePicker_GotFocus;
}
private void NossoRadDateTimePicker_GotFocus(object sender, EventArgs e)
{
base.DateTimePickerElement.Focus();
}
private void NossoRadDateTimePicker_ValueChanged(object sender, EventArgs e)
{
if (ShowCheckBox && checking == false)
this.Checked = true;
}
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public new DateTime? NullableValue
{
get
{
throw new Exception("Use Value");
}
set
{
throw new Exception("Use Value");
}
}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
/// <summary>
/// Poderá retornar null caso use o checkbox e ele não esteja checkado
/// </summary>
public new DateTime? Value
{
get
{
DateTime? valor = base.Value;
if (ShowCheckBox && Checked == false)
valor = null;
return valor;
}
set
{
//garantir que essa bosta n sete valor fora do range de datas
if (value != null)
{
value = value > MaxDate ? MaxDate : value;
value = value < MinDate ? MinDate : value;
Checked = true;
}
else if (ShowCheckBox)
Checked = false;
checking = true;
base.Value = value ?? DateTime.Now;
checking = false;
}
}
protected override void OnKeyDown(KeyEventArgs e)
{
if (e.KeyData == Keys.Space)
{
this.Checked = !this.Checked;
}
else
{
base.OnKeyDown(e);
}
}
bool checking;
}
Hello!
I need to deselect only one cell once selected.
I have tried the following code in the SelectionChanged and SelectionChanging events. But it does not work.
Any suggestions?
RadGridView1.CurrentCell.IsSelected = false
Thanks.
I am trying to set the color of the bar , when a value goes below a certain amount. I have tried the below, but none of them change the color of the bar from Green to red. :
barBat.BackColor = Color.Yellow
barBat.GaugeElement.BackColor = Color.Yellow
barBat.GaugeElement.BackColor2 = Color.Yellow
barBat.GaugeElement.BackColor3 = Color.Yellow
barBat.GaugeElement.BackColor4 = Color.Yellow