Class FocusIndicatorConfig
- Namespace
- Whim.FocusIndicator
- Assembly
- Whim.FocusIndicator.dll
Configuration for the focus indicator plugin.
public class FocusIndicatorConfig : INotifyPropertyChanged
- Inheritance
-
FocusIndicatorConfig
- Implements
- Inherited Members
Properties
Backdrop
The backdrop/material to use for the focus indicator. Changes to this property during runtime will
not be reflected in the UI - any changes must be done in the csx config prior to initializing Whim.
Switching between different backdrops can influence the transparency - for more see BackdropType.
Defaults to Mica, and to always show the backdrop.
public WindowBackdropConfig Backdrop { get; set; }
Property Value
BorderSize
The size of the focus indicator border, in pixels.
public int BorderSize { get; set; }
Property Value
Color
The color of the focus indicator.
public Brush Color { get; set; }
Property Value
FadeEnabled
When true, the focus indicator will be visible for
FadeTimeout.
public bool FadeEnabled { get; set; }
Property Value
FadeTimeout
The amount of time that the focus indicator will be visible, when
FadeEnabled
.public TimeSpan FadeTimeout { get; set; }
Property Value
Methods
OnPropertyChanged(string)
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyName
string
Events
PropertyChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler? PropertyChanged