2010-12-02 58 views

回答

3

我想修改完畢,你應該叫Refresh()

public OrientationProperty Direction 
{ 
    get 
    { 
     return _direction; 
    } 
    set 
    { 
     _direction = value; 
     if (DesignMode) 
     { 
      Parent.Refresh(); // Refreshes the client area of the parent control 
     } 
    } 
} 
private OrientationProperty _direction; 
+0

對不起,我不明白:OrientationProperty不是由Visual Studio已知類型? – user310291 2010-12-02 16:41:17

相關問題