/// <summary> /// Sets the notification message accent. /// </summary> /// <param name="builder">The builder.</param> /// <param name="accentBrush">The accent brush.</param> /// <returns>Returns the notification message builder.</returns> public static NotificationMessageBuilder Accent( this NotificationMessageBuilder builder, IBrush accentBrush) { builder.SetAccent(accentBrush); return(builder); }
/// <summary> /// Sets the notification message accent. /// </summary> /// <param name="builder">The builder.</param> /// <param name="accentBrush">The accent brush.</param> /// <returns>Returns the notification message builder.</returns> public static NotificationMessageBuilder Accent( this NotificationMessageBuilder builder, string accentBrush) { var brush = new BrushConverter().ConvertFrom(accentBrush) as Brush; builder.SetAccent(brush); return(builder); }