Table of Contents

Interface ISillActivatedByDefault

Namespace
WindowSill.API
Assembly
WindowSill.API.dll

Represents the declaration of a sill that will be activated by default when WindowSill starts.

public interface ISillActivatedByDefault : ISill
Inherited Members
Extension Methods

Remarks

Use this interface to create a sill that is constantly active when WindowSill is running, or when you need a deeper control over the activation process. For example, you can create a Media Control sill that only shows the media controls when a media is playing. You can do this by controlling the visibility of the View or the ViewList.

<pre><code class="lang-csharp">[(typeof())]
[("My Sill")]
[()] // Optional. Default is .
[(Before = "OtherSill", After = "AnotherSill")] // Optional. Use to tied break ordering of sills when conflicting properties are set.
internal sealed class MySill: 
{
}</code></pre>

Methods

OnActivatedAsync()

Invoked when the sill is activated and gets added to the sill bar.

ValueTask OnActivatedAsync()

Returns

ValueTask

Remarks

This method is not awaited for completion.