Rollback HorizontalScrollBarVisibility and VerticalScrollBarVisibility and made them obsolated
This commit is contained in:
Родитель
f09e719a1d
Коммит
3d517700ad
|
@ -352,8 +352,24 @@ public static class ControlPropertyExtensions
|
|||
Canvas.SetRight(control, value);
|
||||
return control;
|
||||
}
|
||||
|
||||
public static TPanel Children<TPanel>(this TPanel container, params Control[] children)
|
||||
|
||||
[Obsolete("Use ScrollViewer_HorizontalScrollBarVisibility extension instead")]
|
||||
public static TElement HorizontalScrollBarVisibility<TElement>(this TElement control, ScrollBarVisibility value)
|
||||
where TElement : ItemsControl
|
||||
{
|
||||
ScrollViewer.SetHorizontalScrollBarVisibility(control, value);
|
||||
return control;
|
||||
}
|
||||
|
||||
[Obsolete("Use ScrollViewer_VerticalScrollBarVisibility extension instead")]
|
||||
public static TElement VerticalScrollBarVisibility<TElement>(this TElement control, ScrollBarVisibility value)
|
||||
where TElement : ItemsControl
|
||||
{
|
||||
ScrollViewer.SetVerticalScrollBarVisibility(control, value);
|
||||
return control;
|
||||
}
|
||||
|
||||
public static TPanel Children<TPanel>(this TPanel container, params Control[] children)
|
||||
where TPanel : Panel
|
||||
{
|
||||
foreach (var child in children)
|
||||
|
|
Загрузка…
Ссылка в новой задаче