Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to remove controls using server-side styles #1397

Merged
merged 2 commits into from Jun 3, 2022

Conversation

exyi
Copy link
Member

@exyi exyi commented May 26, 2022

We need this for AutoUI

@exyi exyi requested a review from tomasherceg May 26, 2022 09:40
/// <summary> The control will be removed from the control tree. Note that all appended, prepended and wrapper controls will be preserved. </summary>
public static IStyleBuilder<T> Remove<T>(
this IStyleBuilder<T> sb,
bool really = true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe bool condition instead :)

@exyi exyi merged commit b91f5dc into main Jun 3, 2022
@exyi exyi deleted the styles-remove branch June 3, 2022 16:21
@exyi exyi added this to the Version 4.1 milestone Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants