RE: [aus-dotnet] Server Control dynamic property?


    [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
    • From: anthony
    • Subject: RE: [aus-dotnet] Server Control dynamic property?
    • Date: Tue, 01 Mar 2005 10:13:44 +1100

    Have an example code..yes..this is what i am after.   thanks AnthonyS

    From: dotnet-owner@xxxxxxxxxxx [mailto:dotnet-owner@xxxxxxxxxxx] On Behalf Of Anderson, Dale
    Sent: Tuesday, 1 March 2005 10:16 AM
    To: dotnet@xxxxxxxxxxx
    Subject: RE: [aus-dotnet] Server Control dynamic property?

    Do you mean by to use the value of a property in calculations for another property? If so, sure, you can just write code to calculate the value in the property accessor. You might need to manually raise the PropertyChanged events if you need the changes to show at design time. Declare these events <PropertyName>Changed as EventHandler and raise them when the properties change.

     

    If this isn’t what you’re after, give us a few more details.

     

    HTH!

    Dale

     

    -----Original Message-----
    From: dotnet-owner@xxxxxxxxxxx [mailto:dotnet-owner@xxxxxxxxxxx] On Behalf Of anthony
    Sent: Tuesday, 1 March 2005 8:52 AM
    To: dotnet@xxxxxxxxxxx
    Subject: [aus-dotnet] Server Control dynamic property?

     

    Is it possibel to create a control property that is dependent on another property at design time?

     

     

    AnthonyS




    (Click here for more information on the aus-dotnet mailling list)