for (int i = 0; i < 5; i++)
{
ButtonArray[i].ActionButton.ButtonFillElement.BackColor = System.Drawing.Color.transparent; <- Setting the original Values
ButtonArray[i].ActionButton.ButtonFillElement.BackColor2 = System.Drawing.Color.transparent;
ButtonArray[i].ActionButton.ButtonFillElement.BackColor3 = System.Drawing.Color.transparent;
ButtonArray[i].ActionButton.ButtonFillElement.BackColor4 = System.Drawing.Color.transparent;
}
/*Setting Selected Values...*/
SendingSplitButton.ActionButton.ButtonFillElement.BackColor = System.Drawing.Color.FromArgb(255,255,115,0);
SendingSplitButton.ActionButton.ButtonFillElement.BackColor2 = System.Drawing.Color.FromArgb(255,255, 115, 0);
SendingSplitButton.ActionButton.ButtonFillElement.BackColor3 = System.Drawing.Color.FromArgb(255,255, 115, 0);
SendingSplitButton.ActionButton.ButtonFillElement.BackColor4 = System.Drawing.Color.FromArgb(255,255, 115, 0);
SendingSplitButton.ActionButton.ButtonFillElement.GradientPercentage = 0.62f;
SendingSplitButton.ActionButton.ButtonFillElement.GradientPercentage = 0.71f;
}
I have already tried changing the State of the Objects in this mode:
SendingSplitButton.OnMouseOver = true or with SendingSplitButton.OnMouseDown= true but it doesn't work. I don't understand very well if it is possible or not managing only a single state of the object through the code and how the Style Managing - by code - and Xml is merged.
Thank you very Much,

Dim iRow As Integer = PoolGrid.Rows.IndexOf(PoolGrid.CurrentRow)
If iKey = 2097184 Then 'SPACE PoolGrid.Rows(iRow).IsSelected = True PoolGrid.Rows(iRow).IsCurrent = True PoolGrid.SelectedRows.Add(PoolGrid.CurrentRow) PoolGrid.Update() PoolGrid.CurrentRow.VisualElement.RowVisualState = Telerik.WinControls.UI.GridRowElement.RowVisualStates.Selecteddgv_format.DataSource = dtSource; dgv_format.MasterTemplate.FilterDescriptors.Clear();FilterDescriptor filter = new FilterDescriptor();filter.PropertyName = "a_layer_number";filter.Operator = FilterOperator.IsEqualTo;filter.Value = 1 ;filter.IsFilterEditor = true;dgv_format.MasterTemplate.FilterDescriptors.Add(filter);dgv_format.Refresh();MasterTemplate .. also does not filter, does not work :dgv_format.FilterDescriptors.Add(filter);