public override void StartSettings()
{
var fe = new FloatingElement
{
OpacityDragging = 0.5,
OpacityNormal = 1.0,
CanMove = true,
CanRotate = true,
CanScale = true,
StartOrientation = 0,
Background = Brushes.DarkOrange,
StartPosition = new Point(400,400),
StartSize = new Size(400, 500),
ShowsActivationEffects = false,
RemoveOnEdge = true,
Contained = true,
Title = "Rain Radar Configuration",
Foreground = Brushes.White,
DockingStyle = DockingStyles.None,
ModelInstance = new RainRadarConfigViewModel(this)
};
AppStateSettings.Instance.FloatingItems.Add(fe);
}
}