Open sandboxFocus

Property PropertyNamePattern

PropertyNamePattern

Gets or sets the regular expression pattern that will be evaluated against the name of the target property of the DependencyPropertyAttribute aspect. The expression should yield a match group named Name. If PropertyNamePattern is not specified, the name of the target property is used as the name of the dependency property.

Declaration
public string? PropertyNamePattern { get; init; }
Property Value
Type Description
string