menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataSource - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DataSource

    Datasource class holds connection information for UI element.

    Inheritance
    System.Object
    DataSource
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Shared.Olap
    Assembly: Syncfusion.OlapShared.WPF.dll
    Syntax
    public class DataSource

    Constructors

    DataSource()

    Declaration
    public DataSource()

    Fields

    ConnectionNameProperty

    ConnectionNameProperty holds the connection name information of the Datasource class.

    Declaration
    public static readonly DependencyProperty ConnectionNameProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ConnectionStringProperty

    ConnectionStringProperty holds the connection string information of the DataSource.

    Declaration
    public static readonly DependencyProperty ConnectionStringProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    DataManagerNameProperty

    DataManagerNameProperty holds the shared data manager name of the DataSource.

    Declaration
    public static readonly DependencyProperty DataManagerNameProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Methods

    GetConnectionName(DependencyObject)

    Gets the name of the connection.

    Declaration
    public static string GetConnectionName(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj.

    Returns
    Type
    System.String

    GetConnectionString(DependencyObject)

    Gets the connection string.

    Declaration
    public static string GetConnectionString(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj.

    Returns
    Type
    System.String

    GetDataManagerName(DependencyObject)

    Gets the name of the data manager.

    Declaration
    public static string GetDataManagerName(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj.

    Returns
    Type
    System.String

    SetConnectionName(DependencyObject, String)

    Sets the name of the connection.

    Declaration
    public static void SetConnectionName(DependencyObject obj, string value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj.

    System.String value

    The value.

    SetConnectionString(DependencyObject, String)

    Sets the connection string.

    Declaration
    public static void SetConnectionString(DependencyObject obj, string value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj.

    System.String value

    The value.

    SetDataManagerName(DependencyObject, String)

    Sets the name of the data manager.

    Declaration
    public static void SetDataManagerName(DependencyObject obj, string value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj.

    System.String value

    The value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved