Метод | Описание | |
---|---|---|
AddControlToParent ( |
Add the provided control to a parent collection.
|
|
ApplyPadding ( Orientation orientation, |
Return the provided rectangle with orientation specific padding applied.
|
|
ApplyPadding ( VisualOrientation orientation, |
Return the provided rectangle with visual orientation specific padding applied.
|
|
ApplyPadding ( Orientation orientation, |
Return the provided size with orientation specific padding applied.
|
|
ApplyPadding ( VisualOrientation orientation, |
Return the provided size with visual orientation specific padding applied.
|
|
BlackenColor ( Color color1, float percentR, float percentG, float percentB ) : Color |
Blacken a provided color by applying per channel percentages.
|
|
BoolToString ( bool b ) : string |
Convert a Boolean to a culture invariant string value.
|
|
ButtonStyleToPalette ( ButtonStyle style ) : PaletteButtonStyle |
Convert from ButtonStyle to PaletteButtonStyle.
|
|
CheckContextMenuForShortcut ( |
Check a short cut menu for a matching short and invoke that item if found.
|
|
ClientMouseMessageToScreenPt ( |
Convert a client mouse position inside a windows message into a screen position.
|
|
ColorDepth ( ) : int |
Get the number of bits used to define the color depth of the display.
|
|
ColorToBlackAndWhite ( Color color ) : Color |
Convert the color to a black and white color.
|
|
ColorToString ( Color c ) : string |
Convert a Color to a culture invariant string value.
|
|
ContentStyleFromLabelStyle ( LabelStyle style ) : PaletteContentStyle |
Find the appropriate content style to match the incoming label style.
|
|
CreateInstance ( |
Create new instance of specified type within the designer host, if provided.
|
|
DesignMode ( |
Discover if the component is in design mode.
|
|
DestroyInstance ( object instance, IDesignerHost host ) : void |
Destroy instance of an object using the provided designer host.
|
|
DoubleToString ( double d ) : string |
Convert a double to a culture invariant string value.
|
|
GetControlWithFocus ( |
Search the hierarchy of the provided control looking for one that has the focus.
|
|
GetRightToLeftLayout ( |
Gets the form level right to left setting.
|
|
GetWindowBorders ( |
Gets the size of the borders requested by the real window.
|
|
ImageToXmlCData ( |
Convert a Image to a culture invariant string value.
|
|
IsFormMaximized ( |
Discover if the provided Form is currently maximized.
|
|
IsFormMinimized ( |
Discover if the provided Form is currently minimized.
|
|
LogOutput ( string str ) : void |
Output some debug data to a log file that exists in same directory as the application.
|
|
MakeCustomDateFormat ( string format ) : string |
Ensure that a single character format string is treated as a custom format.
|
|
MergeColors ( Color color1, float percent1, Color color2, float percent2 ) : Color |
Merge two colors together using relative percentages.
|
|
MergeColors ( Color color1, float percent1, Color color2, float percent2, Color color3, float percent3 ) : Color |
Merge three colors together using relative percentages.
|
|
OrientateDrawBorders ( PaletteDrawBorders borders, VisualOrientation orientation ) : PaletteDrawBorders |
Apply an orientation to the draw border edges to get a correct value.
|
|
OrientatePadding ( VisualOrientation orientation, Padding padding ) : Padding |
Modify the incoming padding to reflect the visual orientation.
|
|
PaletteTextHintToRenderingHint ( PaletteTextHint hint ) : TextRenderingHint |
Convert from palette rendering hint to actual rendering hint.
|
|
PerformOperation ( System.Operation op, object parameter ) : object |
Perform operation in a worker thread with wait dialog in main thread.
|
|
PointToString ( Point s ) : string |
Convert a Point to a culture invariant string value.
|
|
RealClientRectangle ( |
Gets the real client rectangle of the list.
|
|
RemoveControlFromParent ( |
Remove the provided control from its parent collection.
|
|
ReverseOrientateDrawBorders ( PaletteDrawBorders borders, VisualOrientation orientation ) : PaletteDrawBorders |
Apply a reversed orientation so that when orientated again it comes out with the original value.
|
|
RoundedRectanglePath ( |
Create a graphics path that describes a rounded rectangle.
|
|
SeparatorStyleToMetricPadding ( SeparatorStyle separatorStyle ) : PaletteMetricPadding |
Get the correct metric padding for the provided separator style.
|
|
SizeToString ( |
Convert a Size to a culture invariant string value.
|
|
StringToBool ( string s ) : bool |
Convert a culture invariant string value to a Boolean.
|
|
StringToColor ( string s ) : Color |
Convert a culture invariant string value to a Color.
|
|
StringToDouble ( string s ) : double |
Convert a culture invariant string value to a double.
|
|
StringToPoint ( string s ) : Point |
Convert a culture invariant string value to a Point.
|
|
StringToSize ( string s ) : |
Convert a culture invariant string value to a Size.
|
|
TextToXmlAttribute ( |
Only persist the provided name/value pair as an Xml attribute if the value is not null or empty.
|
|
TextToXmlAttribute ( |
Only persist the provided name/value pair as an Xml attribute if the value is not null/empty and not the default.
|
|
ValidContextMenuStrip ( |
Decide if the context menu strip should be displayed.
|
|
ValidKryptonContextMenu ( |
Decide if the KryptonContextMenu should be displayed.
|
|
VisualToOrientation ( VisualOrientation orientation ) : Orientation |
Convert from VisualOrientation to Orientation.
|
|
WhitenColor ( Color color1, float percentR, float percentG, float percentB ) : Color |
Whiten a provided color by applying per channel percentages.
|
|
XmlAttributeToText ( XmlReader xmlReader, string name ) : string |
Read the named attribute value but if no attribute is found then an empty string.
|
|
XmlAttributeToText ( XmlReader xmlReader, string name, string def ) : string |
Read the named attribute value but if no attribute is found then return the provided default.
|
|
XmlCDataToImage ( XmlReader xmlReader ) : Image |
Convert a culture invariant string value into an Image.
|
Метод | Описание | |
---|---|---|
HasABorder ( PaletteDrawBorders borders ) : bool | ||
HasAllBorders ( PaletteDrawBorders borders ) : bool | ||
HasBottomBorder ( PaletteDrawBorders borders ) : bool | ||
HasLeftBorder ( PaletteDrawBorders borders ) : bool | ||
HasNoBorders ( PaletteDrawBorders borders ) : bool | ||
HasOneBorder ( PaletteDrawBorders borders ) : bool | ||
HasRightBorder ( PaletteDrawBorders borders ) : bool | ||
HasTopBorder ( PaletteDrawBorders borders ) : bool | ||
IsOverrideState ( PaletteState state ) : bool | ||
IsOverrideStateExclude ( PaletteState state, PaletteState exclude ) : bool | ||
SwapRectangleSizes ( |
public static AddControlToParent ( |
||
parent | Parent control. | |
c | Control to be added. | |
Результат | void |
public static ApplyPadding ( Orientation orientation, |
||
orientation | Orientation | Orientation to apply padding with. |
rect | Starting rectangle. | |
padding | Padding | Padding to be applied. |
Результат |
public static ApplyPadding ( VisualOrientation orientation, |
||
orientation | VisualOrientation | Orientation to apply padding with. |
rect | Starting rectangle. | |
padding | Padding | Padding to be applied. |
Результат |
public static ApplyPadding ( Orientation orientation, |
||
orientation | Orientation | Orientation to apply padding with. |
size | Starting size. | |
padding | Padding | Padding to be applied. |
Результат |
public static ApplyPadding ( VisualOrientation orientation, |
||
orientation | VisualOrientation | Orientation to apply padding with. |
size | Starting size. | |
padding | Padding | Padding to be applied. |
Результат |
public static BlackenColor ( Color color1, float percentR, float percentG, float percentB ) : Color | ||
color1 | Color | Color. |
percentR | float | Percentage of red to keep. |
percentG | float | Percentage of green to keep. |
percentB | float | Percentage of blue to keep. |
Результат | Color |
public static BoolToString ( bool b ) : string | ||
b | bool | Boolean to convert. |
Результат | string |
public static ButtonStyleToPalette ( ButtonStyle style ) : PaletteButtonStyle | ||
style | ButtonStyle | ButtonStyle to convert. |
Результат | PaletteButtonStyle |
public static CheckContextMenuForShortcut ( |
||
cms | ContextMenuStrip instance to check. | |
msg | Windows message that generated check. | |
keyData | Keys | Keyboard shortcut to check. |
Результат | bool |
public static ClientMouseMessageToScreenPt ( |
||
m | Window message. | |
Результат | Point |
public static ColorToBlackAndWhite ( Color color ) : Color | ||
color | Color | Base color. |
Результат | Color |
public static ColorToString ( Color c ) : string | ||
c | Color | Color to convert. |
Результат | string |
public static ContentStyleFromLabelStyle ( LabelStyle style ) : PaletteContentStyle | ||
style | LabelStyle | LabelStyle enumeration. |
Результат | PaletteContentStyle |
public static CreateInstance ( |
||
itemType | Type of the item to create. | |
host | IDesignerHost | Designer host used if provided. |
Результат | object |
public static DesignMode ( |
||
c | Component to test. | |
Результат | bool |
public static DestroyInstance ( object instance, IDesignerHost host ) : void | ||
instance | object | Reference to item for destroying. |
host | IDesignerHost | Designer host used if provided. |
Результат | void |
public static DoubleToString ( double d ) : string | ||
d | double | Double to convert. |
Результат | string |
public static GetControlWithFocus ( |
||
control | Top of the hierarchy to search. | |
Результат |
public static GetRightToLeftLayout ( |
||
control | Control for which the setting is needed. | |
Результат | bool |
public static GetWindowBorders ( |
||
cp | Window style parameters. | |
Результат | Padding |
public static ImageToXmlCData ( |
||
xmlWriter | Xml writer to save information into. | |
name | string | Name of image to save. |
image | Image | Image to persist. |
Результат | void |
public static IsFormMaximized ( |
||
f | Form reference. | |
Результат | bool |
public static IsFormMinimized ( |
||
f | Form reference. | |
Результат | bool |
public static LogOutput ( string str ) : void | ||
str | string | String to output. |
Результат | void |
public static MakeCustomDateFormat ( string format ) : string | ||
format | string | Incoming format. |
Результат | string |
public static MergeColors ( Color color1, float percent1, Color color2, float percent2 ) : Color | ||
color1 | Color | First color. |
percent1 | float | Percentage of first color to use. |
color2 | Color | Second color. |
percent2 | float | Percentage of second color to use. |
Результат | Color |
public static MergeColors ( Color color1, float percent1, Color color2, float percent2, Color color3, float percent3 ) : Color | ||
color1 | Color | First color. |
percent1 | float | Percentage of first color to use. |
color2 | Color | Second color. |
percent2 | float | Percentage of second color to use. |
color3 | Color | Third color. |
percent3 | float | Percentage of third color to use. |
Результат | Color |
public static OrientateDrawBorders ( PaletteDrawBorders borders, VisualOrientation orientation ) : PaletteDrawBorders | ||
borders | PaletteDrawBorders | Border edges to be drawn. |
orientation | VisualOrientation | How to adjsut the border edges. |
Результат | PaletteDrawBorders |
public static OrientatePadding ( VisualOrientation orientation, Padding padding ) : Padding | ||
orientation | VisualOrientation | Orientation to apply to padding. |
padding | Padding | Padding to be modified. |
Результат | Padding |
public static PaletteTextHintToRenderingHint ( PaletteTextHint hint ) : TextRenderingHint | ||
hint | PaletteTextHint | Palette rendering hint. |
Результат | TextRenderingHint |
public static PerformOperation ( System.Operation op, object parameter ) : object | ||
op | System.Operation | Delegate of operation to be performed. |
parameter | object | Parameter to be passed into the operation. |
Результат | object |
public static PointToString ( Point s ) : string | ||
s | Point | Size to convert. |
Результат | string |
public static RealClientRectangle ( |
||
handle | Window handle of the control. | |
Результат |
public static RemoveControlFromParent ( |
||
c | Control to be removed. | |
Результат | void |
public static ReverseOrientateDrawBorders ( PaletteDrawBorders borders, VisualOrientation orientation ) : PaletteDrawBorders | ||
borders | PaletteDrawBorders | Border edges to be drawn. |
orientation | VisualOrientation | How to adjsut the border edges. |
Результат | PaletteDrawBorders |
public static RoundedRectanglePath ( |
||
rect | Rectangle to become rounded. | |
rounding | int | The rounding factor to apply. |
Результат |
public static SeparatorStyleToMetricPadding ( SeparatorStyle separatorStyle ) : PaletteMetricPadding | ||
separatorStyle | SeparatorStyle | Separator style. |
Результат | PaletteMetricPadding |
public static SizeToString ( |
||
s | Size to convert. | |
Результат | string |
public static StringToBool ( string s ) : bool | ||
s | string | String to convert. |
Результат | bool |
public static StringToColor ( string s ) : Color | ||
s | string | String to convert. |
Результат | Color |
public static StringToDouble ( string s ) : double | ||
s | string | String to convert. |
Результат | double |
public static StringToPoint ( string s ) : Point | ||
s | string | String to convert. |
Результат | Point |
public static StringToSize ( string s ) : |
||
s | string | String to convert. |
Результат |
public static TextToXmlAttribute ( |
||
xmlWriter | Xml writer to save information into. | |
name | string | Attribute name. |
value | string | Attribute value. |
Результат | void |
public static TextToXmlAttribute ( |
||
xmlWriter | Xml writer to save information into. | |
name | string | Attribute name. |
value | string | Attribute value. |
def | string | Default value. |
Результат | void |
public static ValidContextMenuStrip ( |
||
cms | Reference to context menu strip. | |
Результат | bool |
public static ValidKryptonContextMenu ( |
||
kcm | Reference to context menu strip. | |
Результат | bool |
public static VisualToOrientation ( VisualOrientation orientation ) : Orientation | ||
orientation | VisualOrientation | VisualOrientation value. |
Результат | Orientation |
public static WhitenColor ( Color color1, float percentR, float percentG, float percentB ) : Color | ||
color1 | Color | Color. |
percentR | float | Percentage of red to keep. |
percentG | float | Percentage of green to keep. |
percentB | float | Percentage of blue to keep. |
Результат | Color |
public static XmlAttributeToText ( XmlReader xmlReader, string name ) : string | ||
xmlReader | XmlReader | Xml reader to load information from. |
name | string | Attribute name. |
Результат | string |
public static XmlAttributeToText ( XmlReader xmlReader, string name, string def ) : string | ||
xmlReader | XmlReader | Xml reader to load information from. |
name | string | Attribute name. |
def | string | Default value. |
Результат | string |
public static XmlCDataToImage ( XmlReader xmlReader ) : Image | ||
xmlReader | XmlReader | Xml reader to load information from. |
Результат | Image |