I'm writing a .net3.0 WPF app in c# and want to determin if an object
implements a certain interface something like this:
UIElement elem = GetObjectClicke d(e.source as DependancyObjec t)
if(elem.type==I Selectable)
{
return elem;
}
Where ISelectable is the interface I'm looking for. In otherwords, how do I
determin if 'elem' implements ISelectable?
Thanks
--
moondaddy@noema il.noemail
implements a certain interface something like this:
UIElement elem = GetObjectClicke d(e.source as DependancyObjec t)
if(elem.type==I Selectable)
{
return elem;
}
Where ISelectable is the interface I'm looking for. In otherwords, how do I
determin if 'elem' implements ISelectable?
Thanks
--
moondaddy@noema il.noemail
Comment