C1.Win.C1InputPanel 命名空间 > InputComponent 类 : DataSource 属性 |
'声明
<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <C1CategoryAttribute("数据")> <System.ComponentModel.DefaultValueAttribute()> <System.ComponentModel.AttributeProviderAttribute(TypeName="System.ComponentModel.IListSource, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", PropertyName="")> <System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)> <C1DescriptionAttribute("此输入组件的数据源对象。")> <System.ComponentModel.MergablePropertyAttribute(False)> Public Overridable Property DataSource As System.Object
'用法
Dim instance As InputComponent Dim value As System.Object instance.DataSource = value value = instance.DataSource
[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [C1Category("数据")] [System.ComponentModel.DefaultValue()] [System.ComponentModel.AttributeProvider(TypeName="System.ComponentModel.IListSource, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", PropertyName="")] [System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)] [C1Description("此输入组件的数据源对象。")] [System.ComponentModel.MergableProperty(false)] public virtual System.object DataSource {get; set;}
public read-write property DataSource: System.TObject; virtual;
System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden) C1CategoryAttribute("数据") System.ComponentModel.DefaultValueAttribute() System.ComponentModel.AttributeProviderAttribute(TypeName="System.ComponentModel.IListSource, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", PropertyName="") System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint) C1DescriptionAttribute("此输入组件的数据源对象。") System.ComponentModel.MergablePropertyAttribute() public function get,set DataSource : System.Object
[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [C1Category("数据")] [System.ComponentModel.DefaultValue()] [System.ComponentModel.AttributeProvider(TypeName="System.ComponentModel.IListSource, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", PropertyName="")] [System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)] [C1Description("此输入组件的数据源对象。")] [System.ComponentModel.MergableProperty(false)] public: __property virtual System.Object* get_DataSource(); public: __property virtual void set_DataSource( System.Object* value );
[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [C1Category("数据")] [System.ComponentModel.DefaultValue()] [System.ComponentModel.AttributeProvider(TypeName="System.ComponentModel.IListSource, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", PropertyName="")] [System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)] [C1Description("此输入组件的数据源对象。")] [System.ComponentModel.MergableProperty(false)] public: virtual property System.Object^ DataSource { System.Object^ get(); void set ( System.Object^ value); }
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