Save Item only once when text is updated
Adjust AER to reflect changes in the RNO column Added AnnotationColor property Set Active or Inactive BackColor for StepRTB
This commit is contained in:
@@ -172,7 +172,10 @@ namespace Volian.Controls.Library
|
||||
public void SetBackColor()
|
||||
{
|
||||
if (MyStepItem == null || MyStepItem.MyStepPanel == null) return;
|
||||
if (!Focused)BackColor = _MyItemInfo.ItemAnnotationCount == 0 ? MyStepItem.MyStepPanel.InactiveColor : Color.FromArgb(255, 255, 128);
|
||||
if (Focused) // If active Set BackColor to the active color
|
||||
BackColor = MyStepItem.MyStepPanel.ActiveColor;
|
||||
else // Otherwise Set the BackColor to either the InactiveColor or the AnnotationColor
|
||||
BackColor = _MyItemInfo.ItemAnnotationCount == 0 ? MyStepItem.MyStepPanel.InactiveColor : MyStepItem.MyStepPanel.AnnotationColor;
|
||||
}
|
||||
public void HighlightBackColor()
|
||||
{
|
||||
|
Reference in New Issue
Block a user