Comments (4)
Hi, you can bind to the GroupingNode.ActualSize property which is only set when the resize is completed.
Example from Playground app:
<DataTemplate DataType="{x:Type local:CommentNodeViewModel}">
<nodify:GroupingNode ActualSize="{Binding Size}"
Header="{Binding Title}" />
</DataTemplate>
private Size _size;
public Size Size
{
get => _size;
set => SetProperty(ref _size, value); // you can record the change in here
}
Please let me know if that helps.
from nodify.
I've tried this code and it's very helpful to me.Thank you.
It should be noted that when deserializing a graph, need to check whether it is in deserialization, otherwise record will be executed once.
from nodify.
Added ResizeCompleted
event and ResizeCompletedCommand
in commit 12a8d2f
Let me know if this is what you need. Thanks!
from nodify.
Yes, that's what I need. Thank you very much.
from nodify.
Related Issues (20)
- [Question]Can I change the size of the node? HOT 3
- 👋 Who is using Nodify? HOT 2
- [Question] Bring the selected node on top? HOT 2
- [Question] StartedCommand CanExecute is not working HOT 3
- [Bug] Large amount of lag with 10+ nodes. HOT 4
- [Bug] Cannot bind a Context Menu to Input/Output Connector HOT 2
- Text on Lines HOT 1
- Collaboration and Tree View HOT 1
- [Question] Blurry text when zoom in, how to prevent that happen? HOT 3
- [Bug] Trying to implement OperationsMenuView in mulitiple instance of nodify editor HOT 2
- [Bug] Unable to dynamically switch themes HOT 3
- [Question]How to change the border color of Node HOT 5
- [Bug] Changing BorderThickness will cause an exception to be displayed when nodes are selected HOT 6
- [Question] Connection Behind Grouping Nodes HOT 1
- [Question] Sorting the graph HOT 3
- I want to hide Pending Connection content until it's hover to invalid connection, How can I? HOT 6
- [Bug]Triggered Background of connectors bindings HOT 1
- How can I use strings as input / output types on nodes?[Question] HOT 1
- [Question]Can display text on the connection? HOT 2
- [Question] Problem about Revit-Nodify-Cooperation-Experiment HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodify.