Class DecorativeBlock
A purely-decorative widget that renders a colored, bordered rectangle with fancy hacker stripes.
Inherited Members
Namespace: SociallyDistant.Core.UI.Common
Assembly: SociallyDistant.Framework.dll
Syntax
public sealed class DecorativeBlock : Widget, IFontFamilyProvider, IInspectable, IVisual<DecorativeBlock.VisualState>
Properties
Opaque
Gets or sets a value indicating whether to render a solid block or whether to render a striped block.
Declaration
public bool Opaque { get; set; }
Property Value
Type | Description |
---|---|
bool |
VisualProperties
Gets a read-only reference to the visual properties associated with the widget.
Declaration
public ref readonly DecorativeBlock.VisualState VisualProperties { get; }
Property Value
Type | Description |
---|---|
DecorativeBlock.VisualState |
Methods
BeforeRender()
Declaration
protected override void BeforeRender()
Overrides
RebuildGeometry(GeometryHelper)
Declaration
protected override void RebuildGeometry(GeometryHelper geometry)
Parameters
Type | Name | Description |
---|---|---|
GeometryHelper | geometry |