Object and Property name changes for consistency
This commit is contained in:
@@ -120,11 +120,11 @@ namespace Volian.Controls.Library
|
||||
get { return _Attachment; }
|
||||
set { _Attachment = value; this.Refresh(); }
|
||||
}
|
||||
private ExpanderStyle _Style = ExpanderStyle.Square;
|
||||
public ExpanderStyle Style
|
||||
private ExpanderStyle _MyExpanderStyle = ExpanderStyle.Square;
|
||||
public ExpanderStyle MyExpanderStyle
|
||||
{
|
||||
get { return _Style; }
|
||||
set { _Style = value; this.Refresh(); }
|
||||
get { return _MyExpanderStyle; }
|
||||
set { _MyExpanderStyle = value; this.Refresh(); }
|
||||
}
|
||||
private void vlnExpander_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
@@ -143,7 +143,7 @@ namespace Volian.Controls.Library
|
||||
e.Graphics.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
|
||||
p = new Pen(_BorderColor, _PenWidth);
|
||||
int penWidth = ClientRectangle.Width / _WidthFactor;
|
||||
switch (_Style)
|
||||
switch (_MyExpanderStyle)
|
||||
{
|
||||
case ExpanderStyle.Round:
|
||||
//e.Graphics.FillEllipse(Brushes.Gray, 0F, 0F, diameter, diameter);
|
||||
|
Reference in New Issue
Block a user