IsInset Property
Gets or sets a value indicating whether the shadow is inset and drawn within the element rather than outside of it.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public bool IsInset {
get;
set; }
Public Property IsInset As Boolean
Get
Set
member IsInset : bool with
get, set
Property Value
BooleanRemarks
Inset changes the shadow to inside the element (as if the content was depressed inside the box). If false (the default), the shadow is assumed to be a drop shadow (as if the box were raised above the content).
Inset shadows are drawn inside the element, above the background (even when it's transparent), but below any content.