Spread Windows Forms 10.0 Product Documentation
ElementStyle Class Members
Properties  Methods 


The following tables list the members exposed by ElementStyle.

Public Constructors
 NameDescription
Public ConstructorElementStyle ConstructorCreates an element style (ElementStyle object).  
Top
Public Properties
 NameDescription
Public PropertyAlignHorzGets or sets the horizontal alignment for the style.  
Public PropertyAlignTextGets or sets the alignment of the text with respect to the alignment of the picture for the style.  
Public PropertyAlignVertGets or sets the vertical alignment for the style.  
Public PropertyBackColorGets or sets the background color for the style.  
Public PropertyBackgroundImageGets or sets the background image for the style.  
Public PropertyBorderGets or sets the border for the style.  
Public PropertyCanFocusGets or sets whether the object can receive focus.  
Public PropertyDrawFocusRectangleGets or sets the focus rectangle drawing style for the object.  
Public PropertyEnabledGets or sets whether the object can receive focus and respond to user actions.  
Public PropertyFontGets or sets the font for the style.  
Public PropertyForeColorGets or sets the text color for the style.  
Public PropertyForegroundImageGets or sets the foreground image for the style.  
Public PropertyMarginBottomGets or sets the margin between the bottom of the object and its contents.  
Public PropertyMarginLeftGets or sets the margin between the left edge of the object and its contents.  
Public PropertyMarginRightGets or sets the margin between the right edge of the object and its contents.  
Public PropertyMarginTopGets or sets the margin between the top of the object and its contents.  
Public PropertyPictureGets or sets the picture for the style.  
Public PropertyPictureMarginGets or sets the margin between the text and the picture for the style.  
Public PropertyPictureOrientationGets or sets the orientation of the picture for the style.  
Public PropertyPictureTransparencyColorGets or sets the transparency color for the picture for the style.  
Public PropertySelectableGets or sets whether the user can interact with the element.  
Public PropertyStyleNameGets or sets the name for the created style.  
Public PropertyTextGets or sets the contents of the control as a string matching exactly what is displayed.  
Public PropertyTextOrientationGets or sets the orientation of the text.  
Public PropertyTextWrapGets or sets whether to automatically wrap text without line breaks.  
Public PropertyVisibleGets or sets, for the style, whether the element is visible.  
Top
Public Methods
 NameDescription
Public MethodIsAlignHorzSetGets whether the horizontal alignment (AlignHorz property) is set.  
Public MethodIsAlignTextSetGets whether the text alignment (AlignText property) is set.  
Public MethodIsAlignVertSetGets whether the vertical alignment (AlignVert property) is set.  
Public MethodIsBackColorSetGets whether the background color (BackColor property) is set.  
Public MethodIsBackgroundImageSetGets whether the background image (BackgroundImage property) is set.  
Public MethodIsBorderSetGets whether the border (Border property) is set.  
Public MethodIsCanFocusSetGets whether the ability of the element to receive focus (CanFocus property) is set.  
Public MethodIsDrawFocusRectangleSetGets whether the focus rectangle (DrawFocusRectangle property) is set.  
Public MethodIsEnabledSetGets whether the element is enabled (Enabled property is set).  
Public MethodIsFontSetGets whether the font (Font property) is set.  
Public MethodIsForeColorSetGets whether the text color (ForeColor property) is set.  
Public MethodIsForegroundImageSetGets whether the foreground image (ForegroundImage property) is set.  
Public MethodIsMarginBottomSetGets whether the bottom margin (MarginBottom property) is set.  
Public MethodIsMarginLeftSetGets whether the left margin (MarginLeft property) is set.  
Public MethodIsMarginRightSetGets whether the right margin (MarginRight property) is set.  
Public MethodIsMarginTopSetGets whether the top margin (MarginTop property) is set.  
Public MethodIsPictureMarginSetGets whether the margin of the image (PictureMargin property) is set.  
Public MethodIsPictureOrientationSetGets whether the orientation of the image (PictureOrientation property) is set.  
Public MethodIsPictureSetGets whether the image (Picture property) is set.  
Public MethodIsPictureTransparencyColorSetGets whether the transparency color of the image (PictureTransparencyColor  property) is set.  
Public MethodIsSelectableSetGets whether the element is selectable (Selectable property is set).  
Public MethodIsStyleNameSetGets whether the style name (StyleName property) is set.  
Public MethodIsTextOrientationSetGets whether the orientation of the text (TextOrientation property) is set.  
Public MethodIsTextSetGets whether the text (Text property) is set.  
Public MethodIsTextWrapSetGets whether the element can wrap multiple-line text (TextWrap property is set).  
Public MethodIsVisibleSetGets whether the viewability of the element (Visible property) is set.  
Top
See Also

Reference

ElementStyle Class
FarPoint.Win Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.