8,756
社区成员




public static readonly DependencyProperty SizeProperty =
DependencyProperty.Register("Size", typeof(object), typeof(Avatar), new PropertyMetadata(null, OnSizeChanged));
/// <summary>
/// Gets/sets the size of the avatar.
/// </summary>
[TypeConverter(typeof(Converters.SizeConverter))]
public object Size
{
get { return GetValue(SizeProperty); }
set { SetValue(SizeProperty, value); }
}
public enum Sizes : byte
{
Large, Small
}
public enum Sizes : int
{
Large = -1, Small = -2
}