mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* ListControlDataBindingHandler.cs : Initial implementation. svn path=/trunk/mcs/; revision=9407
40 lines
931 B
C#
40 lines
931 B
C#
/**
|
|
* Namespace: System.Web.UI.Design.WebControls
|
|
* Class: ListControlDataBindingHandler
|
|
*
|
|
* Author: Gaurav Vaish
|
|
* Maintainer: [email protected]
|
|
*
|
|
* (C) Gaurav Vaish (2002)
|
|
*/
|
|
|
|
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.Design;
|
|
using System.Web.UI.WebControls;
|
|
using System.Web.UI.Design;
|
|
|
|
namespace System.Web.UI.Design.WebControls
|
|
{
|
|
public class ListControlDataBindingHandler : DataBindingHandler
|
|
{
|
|
public ListControlDataBindingHandler()
|
|
{
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override void DataBindControl(IDesignerHost designerHost,
|
|
Control control)
|
|
{
|
|
DataBinding db = ((IDataBindingsAccessor)control).DataBindings["DataSource"];
|
|
if(db != null)
|
|
{
|
|
ListControl ctrl = (ListControl)designerHost;
|
|
ctrl.Items.Clear();
|
|
throw new NotImplementedException();
|
|
//ctrl.Items.Add("Sample_Databound_Text"???);
|
|
}
|
|
}
|
|
}
|
|
}
|