Intersoft ClientUI Documentation
ISContentControl Class
Members 



Serves as the base class for all Intersoft Content controls.
Object Model
ISContentControl ClassISFramework Class
Syntax
Public MustInherit Class ISContentControl 
   Inherits System.Windows.Controls.ContentControl
   Implements IControlIFramework 
Dim instance As ISContentControl
public abstract class ISContentControl : System.Windows.Controls.ContentControl, IControlIFramework  
public ref class ISContentControl abstract : public System.Windows.Controls.ContentControl, IControlIFramework  
Remarks

ISContentControl is one of many available content model that Intersoft ClientUI provides. To learn more about other content model see Content Model Overview.

ISContentControl is a base class for all ClientUI content controls. It is used to host and display common language runtime object (such as a string or a DateTime object) or a UIElement object (such as a Rectangle or a Panel). This enables you to add rich content to controls such as Button and CheckBox.

By default it already has predefined template which able to display common language runtime object in its string representation. If you want to enhance the appearance of the control, you can create a new ContentTemplate. This is commonly used in MVVM or data binding approach where you want to represent the data in more fashionable ways.

Some of the common members implemented in ISContentControl are:

Example

The following example demonstrates how to create three GlassLabel controls with Content set to one of the following:

  • A string
  • A UIElement
  • A Panel that contains other UIElement objects.
XAML
Copy Code
<Intersoft:GlassLabel Content="String Value" Margin="4"/>             
<Intersoft:GlassLabel Margin="4">
    <TextBox TextWrapping="Wrap" Text="TextBox"/>
</Intersoft:GlassLabel>
<Intersoft:GlassLabel Margin="4">
    <StackPanel>
        <Ellipse Fill="WHITE" Height="48" Stroke="Black" Width="48" HorizontalAlignment="Center" VerticalAlignment="Center"/>
        <TextBlock TextWrapping="Wrap" Text="TextBlock" HorizontalAlignment="Center" VerticalAlignment="Center"/>
    </StackPanel>
</Intersoft:GlassLabel>

The following figure shows three GlassLabel controls created in the previous example.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ContentControl
                  Intersoft.Client.Framework.ISContentControl
                     Intersoft.Client.Documents.FlowPageContent
                     Intersoft.Client.Documents.PageContent
                     Intersoft.Client.Framework.ISHeaderedContentControl
                     Intersoft.Client.Framework.ISPopup
                     Intersoft.Client.Framework.ISSelectionItemControl
                     Intersoft.Client.UI.Aqua.UXDesktop.UXWindowChrome
                     Intersoft.Client.UI.Aqua.UXFluidContainer
                     Intersoft.Client.UI.Aqua.UXInput.UXClipper
                     Intersoft.Client.UI.Aqua.UXInput.UXSpinner
                     Intersoft.Client.UI.Aqua.UXInput.UXTickBarItem
                     Intersoft.Client.UI.Aqua.UXMenu
                     Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonContextualTabGroup
                     Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonKeyTipControl
                     Intersoft.Client.UI.Aqua.UXScroller
                     Intersoft.Client.UI.Aqua.UXStatusBarItem
                     Intersoft.Client.UI.Controls.CallOut
                     Intersoft.Client.UI.Controls.ContentPerspective
                     Intersoft.Client.UI.Controls.ContentProjector
                     Intersoft.Client.UI.Controls.ContentReflector
                     Intersoft.Client.UI.Controls.ContentTransformer
                     Intersoft.Client.UI.Controls.ContentTransition
                     Intersoft.Client.UI.Controls.ExpandableContentPresenter
                     Intersoft.Client.UI.Controls.StylishLabel
                     Intersoft.Client.UI.Controls.UXBusyIndicator
                     Intersoft.Client.UI.Controls.UXScrollViewer
                     Intersoft.Client.UI.Data.UXDataComboBoxCellBase
                     Intersoft.Client.UI.Data.UXDataFilterItem
                     Intersoft.Client.UI.Data.UXGridViewCell
                     Intersoft.Client.UI.Data.UXGridViewColumnHeader
                     Intersoft.Client.UI.Data.UXGridViewDropDownButton
                     Intersoft.Client.UI.Data.UXGridViewGroupBoxItem
                     Intersoft.Client.UI.Data.UXGridViewRowHeader
                     Intersoft.Client.UI.Data.UXTreeListTreeLabel
                     Intersoft.Client.UI.DataVisualization.DataAnnotation
                     Intersoft.Client.UI.DataVisualization.DataLabel
                     Intersoft.Client.UI.DataVisualization.DefinitionSeriesItem
                     Intersoft.Client.UI.DataVisualization.LegendItem
                     Intersoft.Client.UI.DataVisualization.Title
                     Intersoft.Client.UI.Editors.UXQueryBuilderCell
                     Intersoft.Client.UI.ScheduleView.UXScheduleView
                     Intersoft.Client.UI.ScheduleView.UXScheduleViewEvent
                     Intersoft.Client.UI.ScheduleView.UXScheduleViewResourcesListItem

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

ISContentControl Members
Intersoft.Client.Framework Namespace

Concepts

Content Model Overview

Send Feedback