return btGroup.itemShadowBorder;
});
+ /// <summary>
+ /// Construct an button group.
+ /// </summary>
+ /// <param name="view">root view</param>
[EditorBrowsable(EditorBrowsableState.Never)]
public ButtonGroup(View view) : base()
{
}
}
+ /// <summary>
+ /// Get group item number.
+ /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public int Count
{
}
}
+ /// <summary>
+ /// Check if the button exists.
+ /// </summary>
+ /// <param name="bt">button item</param>
+ /// <returns></returns>
[EditorBrowsable(EditorBrowsableState.Never)]
public bool Contains(Button bt)
{
return itemGroup.Contains(bt);
}
+ /// <summary>
+ /// Get button item index.
+ /// </summary>
+ /// <param name="bt">button item</param>
+ /// <returns></returns>
[EditorBrowsable(EditorBrowsableState.Never)]
public int GetIndex(Button bt)
{
return itemGroup.IndexOf(bt);
}
+ /// <summary>
+ /// Get item by index.
+ /// </summary>
+ /// <param name="index">item index.</param>
+ /// <returns></returns>
[EditorBrowsable(EditorBrowsableState.Never)]
public Button GetItem(int index)
{
return itemGroup[index];
}
+ /// <summary>
+ /// Add item into group.
+ /// </summary>
+ /// <param name="bt">button item.</param>
[EditorBrowsable(EditorBrowsableState.Never)]
public void AddItem(Button bt)
{
root.Add(bt);
}
+ /// <summary>
+ /// The item to removed.
+ /// </summary>
+ /// <param name="bt">button item.</param>
[EditorBrowsable(EditorBrowsableState.Never)]
public void RemoveItem(Button bt)
{
+ if (null == bt) return;
if (!itemGroup.Contains(bt))
{
return;
bt.Dispose();
}
+ /// <summary>
+ /// Remove item by index.
+ /// </summary>
+ /// <param name="index">item index.</param>
[EditorBrowsable(EditorBrowsableState.Never)]
public void RemoveItem(int index)
{
bt.Dispose();
}
+ /// <summary>
+ /// Remove all items.
+ /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void RemoveAll()
{
itemGroup.Clear();
}
+ /// <summary>
+ /// Update button by style.
+ /// </summary>
+ /// <param name="btStyle">button style.</param>
[EditorBrowsable(EditorBrowsableState.Never)]
public void UpdateButton(ButtonStyle btStyle)
{
}
}
+ /// <summary>
+ /// Get or set point size of item.
+ /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public float ItemPointSize
{
}
}
+ /// <summary>
+ /// Get or set font family of item.
+ /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public string ItemFontFamily
{
}
}
+ /// <summary>
+ /// Get or set text color of item.
+ /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public Color ItemTextColor
{
}
}
+ /// <summary>
+ /// Get or set text alignment of item.
+ /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public HorizontalAlignment ItemTextAlignment
{
}
}
+ /// <summary>
+ /// Get or set background color of item.
+ /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public Selector<Color> OverLayBackgroundColorSelector
{
}
}
+ /// <summary>
+ /// Get or set background border of item.
+ /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public Rectangle ItemBackgroundBorder
{
}
}
+ /// <summary>
+ /// Get or set shadow resource of item.
+ /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public string ItemShadowUrl
{
}
}
+ /// <summary>
+ /// Get or set shadow border of item.
+ /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public Rectangle ItemShadowBorder
{
}
}
+ /// <summary>
+ /// Dispose.
+ /// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public void Dispose()
{