/// </summary>
/// <param name="index">Indicator index</param>
/// <param name="position">The position of a indicator by index</param>
+ /// <exception cref="ArgumentNullException">This exception can occur by the position is null.</exception>
/// <since_tizen> 8 </since_tizen>
/// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
{
if (e.Key.KeyPressedName == "1")
{
- view1.Size2D.Width += 10;
+ view1.SizeWidth += 10;
}
else if (e.Key.KeyPressedName == "2")
{
- view1.Size2D.Height += 10;
+ view1.SizeHeight += 10;
}
else if (e.Key.KeyPressedName == "3")
{
{
view1.MaximumSize.Width = 70;
}
+ else if (e.Key.KeyPressedName == "9")
+ {
+ view1.Size += new Size(10, 10);
+ }
else if (e.Key.KeyPressedName == "0")
{
- view1.Size2D.Width -= 10;
- view1.Size2D.Height -= 10;
+ view1.SizeWidth -= 10;
+ view1.SizeHeight -= 10;
}
}
}
string log = "";
log += $"view1 Size2D=({view1.Size2D.Width}, {view1.Size2D.Height}) \n";
log += $"SizeWidth={view1.SizeWidth}, SizeHeight={view1.SizeHeight} \n";
+ log += $"Size={view1.Size.Width}, SizeHeight={view1.Size.Height} \n";
log += $"WidthResizePolicy={view1.WidthResizePolicy}, HeightResizePolicy={view1.HeightResizePolicy} \n";
log += $"WidthSpecification={view1.WidthSpecification}, HeightSpecification={view1.HeightSpecification} \n";
log += $"MinimumSize=({view1.MinimumSize.Width}, {view1.MinimumSize.Height}) \n";