[]
        
(Showing Draft Content)

C1.Framework

C1.Framework Namespace

Classes

BackgroundBrushProvider

Class that encapsulates Brush objects used to paint element backgrounds. It exposes properties that can be used to create and serialize SolidBrush, LinearGradientBrush, and PathGradientBrush objects.

BasePanel

Base class for all Element object that contain child elements.

BitmapIconElement

Represents an icon created from an image.

BitmapIconRenderer

Provides functionality for rendering a C1BitmapIcon to an Image.

BlendConverter

TypeConverter that converts Blend objects to and from strings.

BorderEdges

Class that stores colors for individual border edges.

BorderEdgesConverter

ExpandableObjectConverter that converts BorderEdges objects to and from strings.

ButtonElement

Simple button with text and image.

C1BitmapIcon

Represents an icon created from an image.

C1CompositeIcon

Represents an icon created from multiple icons.

C1FontIcon

Represents an icon created from a font.

C1Icon

Represents a visual icon that can be tinted and resized.

C1IconCollectionEditor

Provides a user interface that can edit collection of C1Icon elements at design time.

C1IconConverter

Provides a type converter to convert C1Icon objects to and from various other representations.

C1IconTemplate

This factory class returns the most common predefined icons.

C1PathIcon

Represents an icon created from a path string.

C1PolygonIcon

Represents an icon created from a vectorial definition.

C1VectorIcon

Represents an icon created from a vectorial definition.

CheckBoxButtonElement

Represents a button with checkbox for TreeRow.

CheckButtonElement

Check (toggle) button.

ColorBlendConverter

TypeConverter that converts ColorBlend objects to and from strings.

ColumnPanel

Panel that stacks children vertically.

CompositeIconElement

Present an icon created from multiple icons.

CompositeIconRenderer

Provides functionality for rendering a C1CompositeIcon to an Image.

ContentElement

Abstract class for elements that display text or images.

Derived classes should override GetValue() method to provide the content (text, images, formatted values).

This class does not have child elements.

ControlHostElement

Element that hosts a WinForms Control.

CornersConverter

Provides a type converter to convert Corners values to and from various other representations.

DockPanel

The DockPanel is a layout panel, that layouts children elements to the left, right, top, bottom or center of the panel.

DrawUtil

Provides helper methods for working with graphics objects.

DropDownFormBase

Represents a base drop down form for the drop down control.

DynamicStyle

Provides data for a dynamic style.

Element

Base class for all elements, handles layout and styles. Instances of this class have no content and no children.

Elements with content (and no children) derive from ContentElement.

Elements with children derive from BasePanel.

This class doesn't do much by itself except call virtual methods that can be overridden in derived classes. It can draw a background and borders with no content, so it can be used to implement things like bars and spacers.

It is designed to be very light-weight, since typical documents may create thousands of these. Additional elements should be added to not-so-common derived classes.

ElementList

Contains a list of Elements that belong to a parent element.

ExpandButtonElement

Represents a button with icon for TreeRow.

FlowPanel

Panel that stacks children horizontally or vertically.

FontIconElement

Represents an icon created from a font.

FontIconRenderer

Provides functionality for rendering a C1FontIcon to an Image.

GridCell

This class is an accessor for getting and setting elements at intersections of grid rows and columns. The actual elements are stored in the rows.

GridColumn

Keeps track of column widths and positions

GridColumnCollection

GridColumn collection. Just an ElementList typed to get and set GridColumn objects.

GridPanel

Inherits from BasePanel and provides a grid with rows and columns. At each intersection there is a cell object that contains an element. Cells may span rows and columns.

GridRow

Keeps track of row heights and positions, stores cells in Children member.

GridRowCollection

GridRow collection. Just an ElementList typed to get and set GridRow objects.

HostedElement

Element that serves as an interface between the host IXView control and the content elements.

IconElement

Represents a visual icon that can be tinted and resized.

IconRenderer

Provides basic functionality for rendering a C1Icon to an Image.

IconSet

Represents the set of icons of different sizes to use in a single UI element.

ImageElement

Element that displays an Image.

Alignment and scaling are controlled by the element's Style.

ListBoxElement

Implements base ListBox with "Select/unselect All" option

ListBoxElement.C1ItemCheckEventArgs

Provides additional data for OnItemChecked(C1ItemCheckEventArgs) event.

MnemonicButtonElement

ButtonElement that interprets an ampersand character (&) in the Text property to be an access key prefix character.

MnemonicRadioButtonElement

RadioButtonElement that interprets an ampersand character (&) in the Text property to be an access key prefix character.

ParagraphElement

BasePanel that displays paragraphs.

PathIconElement

Represent an icon created from a path string.

PathIconRenderer

Provides functionality for rendering a C1PathIcon to an Image.

PolygonIconElement

Represents an icon created from a vectorial definition.

PolygonIconRenderer

Provides functionality for rendering a C1PolygonIcon to an Image.

ProgressBarElement

Element equivalent to a WinForms ProgressBar control.

RadioButtonElement

Radio button with text and image.

RadioButtonWithIconElement

Represents a MnemonicRadioButtonElement with icon.

RepeatButtonElement

Repeat button (fires repeatedly, like scrollbar buttons).

ResourceLoader

Class with static methods used for enumerating and retrieving application resources.

RowPanel

Panel that stacks children horizontally.

ScrollBarElement

Element that looks and behaves like a WinForms ScrollBar.

ScrollBarElement.ScrollBarLineButton

Buttons at either end of the scrollbar (line up/down)

ScrollBarElement.ScrollBarPageButton

Area between the buttons and the thumb (page up/down)

ScrollBarElement.ScrollBarThumb

Thumb (track)

ScrollBarPanel

Panel that plays the role of a ScrollableControl).

ScrollableControl

Defines an abstract base class for controls that support auto-scrolling behavior.

ScrollablePanel

Panel that knows how to scroll child elements bigger than itself.

ScrollableStackPanel

Panel that contains two scroll buttons (ButtonPrevious, ButtonNext) and a ScrollablePanel with content that can be scrolled by clicking the buttons.

SplitButtonElement

Represents a simple splitbutton element

SplitButtonElement.DropDownList

Implements dropdown form for SplitButtonElement

SplitButtonElement.DropDownList.DropDownListItemElement

Represents SplitButtonElement.DropDownList item for SplitButtonElement

SplitButtonElement.SplitButtonElementDropDownListItem

Represents dropdown element.

StackPanel

Panel that stacks children horizontally or vertically into a single line.

Style

The Style class contains display attributes that determine the appearance of content on the screen/printer. It includes most elements found in Css styles.

The Style class also contains methods for rendering and measuring content (strings and images) based on the style settings (fonts, margins, etc).

The Style objects are not hierarchical in the sense that they don't have parent styles and don't inherit attributes from the parent style. To create a new style based on an existing one, you would clone the original style, then apply whatever attributes you want to the new style.

The Style objects are hierarchical in the sense that two style attributes (Font and ForeBrush) don't need to be set. If these attributes are not set, they are inherited, but not from a parent Style object. Rather, these attributes are inherited from the parent UI object.

This type of inheritance make it easy to define a font on a Style associated with a parent UI object and have that font be automatically applied to all UI objects contained in the parent. By contrast, a BackBrush attribute is not explicitly inherited. Instead, the parent UI object paints its client area with a brush, and child UI objects have a transparent background by default, so the parent background shows through by default. Other attributes such as alignment, margins, padding, etc are also not inherited.

TabElement

Tab pages are represented by TabPageElement elements in the tab.TabArea.Children collection.

TabPageElement

Represents the Tab header and refers to the content associated with this Tab.

TextBoxElement

Element that hosts a TextBox control.

TextBoxElement.TextBoxWithTabHandling

TextElement

Element that displays a string.

Alignment and formatting are controlled by the element's Style.

Theme

Class that contains a keyed collection of Style objects and methods to serialize the styles into Xml files and streams.

ThicknessConverter

Provides a type converter to convert Thickness values to and from various other representations.

TreeCollection<T>

Represents a base collection for Columns and Rows.

TreeColumnCollection

Represents a collection of GridColumn elements for Columns.

TreeLine

Defines a list of settings for tree lines.

TreePanel

Inherits from BasePanel and provides a tree panel with rows and columns.

TreeRow

Represents a tree panel row element.

TreeRowCollection

Represents a collection of TreeRow elements for Rows.

ValueElement

Element that displays a simple value (numbers, dates, etc).

The element's Style is responsible for formatting the value (with IFormattable).

VectorIconElement

Represents an icon created from a vectorial definition.

VectorIconRenderer

Provides basic functionality for rendering a C1VectorIcon to an Image.

XView

Control that hosts X elements.

The control has an C1.Framework.XView.Element property that gets or sets the element to be displayed.

The control is responsible for displaying the element, providing scrolling, and routing mouse and keyboard events to the hosted element.

XViewHost

Control that hosts XView control.

XViewLight

Control that hosts X elements.

XmlUtil

Utility class for reading/writing XML.

Structs

Corners

Represents corners associated with a user interface (UI) element.

Thickness

Represents padding, border or margin information associated with a user interface (UI) element.

Interfaces

IBrushProvider

Encapsulates a Brush for painting background.

IControlHostElement

Interface implemented by WinForms controls hosted in X elements.

IDropDownForm

Represents the methods, events and properties of drop down from.

IDropDownOwner

Represents the methods and properties of the owner of the drop-down list.

IDropDownOwnerExtended

Represents extended the methods and properties of the owner of the drop-down list.

IMnemonicElement

Interface implemented by elements that can process mnemonics.

IToolTipElement

Interface implemented by Elements that want to display tooltips when seen in an XView.

IView

Represents the methods and properties of host control for C1Framwork elements.

Enums

Alignment

Specifies the text alignment.

AutoSizeElement

Specifies how the XView control should size the element it contains.

DropDownAlignment

Alignment of the drop-down portion of the drop down control.

Element.ElementFlags

Flags that represent the state of an Element.

Element.LineBreak

Flags that represent the line-breaking behavior caused by an element when it is contained in a paragraph.

FormSizingMode

Specifies the border sizing mode of the DropDownFormBase.

GradientMode

Specifies the background gradient mode.

ImageAlignment

Specifies the image alignment.

ImageScaling

Specifies the image scaling.

ShowAsMonochrome

Describes how bitmap content is recolored.

Stretch

Describes how content is resized to fill its allocated space.

StyleFlags

Specifies flags for the style.

TextDecoration

Enables or disables the text font decorations, such as Underline or Strikeout.

TextDirection

Specifies the text direction (horizontal or vertical).