Sicherung gnaz neu

This commit is contained in:
Maier Stephan SI
2023-02-15 00:55:50 +01:00
parent 56c25672f9
commit f3f89b94f5
1348 changed files with 113234 additions and 98368 deletions

View File

@@ -1,61 +0,0 @@
using System.Windows;
using System.Windows.Controls;
namespace DJ.Helper.ListViewLayoutManager
{
public sealed class FixedColumn : LayoutColumn
{
public static bool IsFixedColumn(GridViewColumn column)
{
if (column == null)
{
return false;
}
return HasPropertyValue(column, WidthProperty);
}
public static double? GetFixedWidth(GridViewColumn column)
{
return GetColumnWidth(column, WidthProperty);
}
public static GridViewColumn ApplyWidth(GridViewColumn gridViewColumn, double width)
{
SetWidth(gridViewColumn, width);
return gridViewColumn;
}
// ##############################################################################################################################
// AttachedProperties
// ##############################################################################################################################
#region AttachedProperties
public static double GetWidth(DependencyObject obj)
{
return (double) obj.GetValue(WidthProperty);
}
public static void SetWidth(DependencyObject obj, double width)
{
obj.SetValue(WidthProperty, width);
}
public static readonly DependencyProperty WidthProperty = DependencyProperty.RegisterAttached("Width", typeof(double), typeof(FixedColumn));
#endregion
// ##############################################################################################################################
// Constructor
// ##############################################################################################################################
#region Constructor
private FixedColumn()
{
}
#endregion
}
}