BCGControlBar Library for .NET
PreferredObjectSize Property




Gets the size, in pixels, of a rectangular area into which the command object can fit on the autosize command panel.
Syntax
'Declaration
 
Public Property PreferredObjectSize As Size
'Usage
 
Dim instance As CommandPanel
Dim value As Size
 
instance.PreferredObjectSize = value
 
value = instance.PreferredObjectSize
public Size PreferredObjectSize {get; set;}
public: __property Size get_PreferredObjectSize();
public: __property void set_PreferredObjectSize( 
   Size value
);
public:
property Size PreferredObjectSize {
   Size get();
   void set (    Size value);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CommandPanel Class
CommandPanel Members

Send Feedback