Skip to content

Commit

Permalink
Remove unnecessary parts from EleCho.WpfSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
SlimeNull committed Jul 16, 2024
1 parent 5698482 commit 0360f8d
Show file tree
Hide file tree
Showing 20 changed files with 17 additions and 2,117 deletions.
270 changes: 0 additions & 270 deletions EleCho.WpfSuite/Controls/Border.cs

This file was deleted.

14 changes: 1 addition & 13 deletions EleCho.WpfSuite/Controls/ListBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,23 +51,11 @@ public Brush DisabledBorderBrush
set { SetValue(DisabledBorderBrushProperty, value); }
}

/// <inheritdoc/>
protected override DependencyObject GetContainerForItemOverride()
{
return new ListBoxItem();
}

/// <inheritdoc/>
protected override bool IsItemItsOwnContainerOverride(object item)
{
return item is ListBoxItem;
}

/// <summary>
/// DependencyProperty of <see cref="CornerRadius"/> property
/// </summary>
public static readonly DependencyProperty CornerRadiusProperty =
Border.CornerRadiusProperty.AddOwner(typeof(ListBox));
System.Windows.Controls.Border.CornerRadiusProperty.AddOwner(typeof(ListBox));

/// <summary>
/// The DependencyProperty of <see cref="DisabledBackground"/> property
Expand Down
Loading

0 comments on commit 0360f8d

Please sign in to comment.