Changed the drag-drop highlight color

This commit is contained in:
David Sparer
2016-09-09 08:25:56 -06:00
parent cfbcb502d8
commit 866aeab76b

View File

@@ -45,6 +45,7 @@ namespace mRemoteNG.UI.Window
};
FillImageList();
SetDragAndDropProperties();
LinkModelToView();
SetEventHandlers();
}
@@ -70,6 +71,12 @@ namespace mRemoteNG.UI.Window
}
}
private void SetDragAndDropProperties()
{
var dropSink = (SimpleDropSink)olvConnections.DropSink;
dropSink.FeedbackColor = Color.SteelBlue;
}
private void LinkModelToView()
{
olvNameColumn.AspectGetter = item => ((ConnectionInfo)item).Name;