ScreenToGif/Controls/FrameListBoxItem.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
namespace ScreenToGif.Controls
{
/// <summary>
/// Item of a ListBox, basically an imagem with a number.
/// </summary>
public class FrameListBoxItem : ListViewItem
{
#region Variables
public readonly static DependencyProperty ImageProperty;
public readonly static DependencyProperty IsCheckedProperty;
public readonly static DependencyProperty MaxSizeProperty;
public readonly static DependencyProperty FrameNumberProperty;
public readonly static DependencyProperty DelayProperty;
#endregion
#region Properties
/// <summary>
/// The Frame of the ListBoxItem.
/// </summary>
[Description("The Frame of the ListBoxItem.")]
public string Image
{
get { return (string)GetValue(ImageProperty); }
set { SetCurrentValue(ImageProperty, value); }
}
/// <summary>
/// True if item is checked.
/// </summary>
[Description("True if item is checked.")]
public bool IsChecked
{
get { return (bool)GetValue(IsCheckedProperty); }
set { SetCurrentValue(IsCheckedProperty, value); }
}
/// <summary>
/// The maximum size of the image.
/// </summary>
[Description("The maximum size of the image.")]
public double MaxSize
{
get { return (double)GetValue(MaxSizeProperty); }
set { SetCurrentValue(MaxSizeProperty, value); }
}
/// <summary>
/// The frame number.
/// </summary>
[Description("The frame number.")]
public int FrameNumber
{
get { return (int)GetValue(FrameNumberProperty); }
后面还有 27 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
