mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 21:24:59 +00:00
code_style: rename BoolConverters.BoolToStarOrAutoGridLength to BoolConverters.ToStarOrAutoGridLength
This commit is contained in:
parent
9b10a867cc
commit
9ae926db9f
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ namespace SourceGit.Converters
|
|||
public static readonly FuncValueConverter<bool, FontWeight> BoldIfTrue =
|
||||
new FuncValueConverter<bool, FontWeight>(x => x ? FontWeight.Bold : FontWeight.Regular);
|
||||
|
||||
public static readonly FuncValueConverter<bool, GridLength> BoolToStarOrAutoGridLength =
|
||||
public static readonly FuncValueConverter<bool, GridLength> ToStarOrAutoGridLength =
|
||||
new(value => value ? new GridLength(1, GridUnitType.Star) : new GridLength(1, GridUnitType.Auto));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue