Skip to content

StyleSheetExtensions class

Fluent API extension methods for StyleSheet.

Guide: C# Markup guide

public static class StyleSheetExtensions
name description
static With(…) Defines a named style through a factory invoked on first lookup (Define) and returns the sheet for chaining.
static With<T>(…) Defines a type-based style rule (Define) and returns the sheet for chaining.
static WithName<T>(…) Defines a type-based style rule by style name (Define) and returns the sheet for chaining.