Skip to content

DesignExtensions class

Fluent design-time hints consumed by editor preview sessions.

Guide: C# Markup guide

public static class DesignExtensions
name description
static DesignHeight<T>(…) Sets the preferred preview height for this element. A no-op outside preview sessions.
static DesignSize<T>(…) Sets the preferred preview size for this element. A no-op outside preview sessions.
static DesignWidth<T>(…) Sets the preferred preview width for this element. A no-op outside preview sessions.