WebImageViewerRedosAvailable Property |
Namespace: Atalasoft.Imaging.WebControls
This example demonstrates how to use the RedosAvailable property in conjunction with a button control.
// We override Render because it is the only time this value is valid. protected override void Render(HtmlTextWriter writer) { if (this.WebImageViewer1.RedosAvailable < 1) this.Button1.Enabled = false; else this.Button1.Enabled = true; base.Render (writer); } // Button event handler private void Button1_Click(object sender, System.EventArgs e) { this.WebImageViewer1.Redo(); }